Fixed typo that would cause things to fail.

This commit is contained in:
flash 2023-07-26 11:54:49 +00:00
parent ca1edb4270
commit 710049794f

View file

@ -149,7 +149,7 @@ class ModNotes {
foreach($noteInfos as $noteInfo) {
if($noteInfo instanceof ModNoteInfo)
$noteInfo = $noteInfo->getId();
elseif(!is_string($noteInfos))
elseif(!is_string($noteInfo))
throw new InvalidArgumentException('$noteInfos must be strings of instances of ModNoteInfo');
$stmt->addParameter(++$args, $noteInfo);