specify ZoneMinder::Database for zmSQLExecute
This commit is contained in:
parent
fe0e4627ef
commit
12ebdacf54
|
@ -1048,7 +1048,7 @@ sub executeCommand {
|
||||||
Error("Command '$command' exited with status: $status");
|
Error("Command '$command' exited with status: $status");
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
zmSQLExecute('UPDATE `Events` SET `Executed` = 1 WHERE `Id` = ?', $Event->{Id});
|
ZoneMinder::Database::zmSQLExecute('UPDATE `Events` SET `Executed` = 1 WHERE `Id` = ?', $Event->{Id});
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue