Fixed typo that would cause things to fail.
This commit is contained in:
parent
ca1edb4270
commit
710049794f
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class ModNotes {
|
||||||
foreach($noteInfos as $noteInfo) {
|
foreach($noteInfos as $noteInfo) {
|
||||||
if($noteInfo instanceof ModNoteInfo)
|
if($noteInfo instanceof ModNoteInfo)
|
||||||
$noteInfo = $noteInfo->getId();
|
$noteInfo = $noteInfo->getId();
|
||||||
elseif(!is_string($noteInfos))
|
elseif(!is_string($noteInfo))
|
||||||
throw new InvalidArgumentException('$noteInfos must be strings of instances of ModNoteInfo');
|
throw new InvalidArgumentException('$noteInfos must be strings of instances of ModNoteInfo');
|
||||||
|
|
||||||
$stmt->addParameter(++$args, $noteInfo);
|
$stmt->addParameter(++$args, $noteInfo);
|
||||||
|
|
Loading…
Reference in a new issue