specify ZoneMinder::Database for zmSQLExecute

This commit is contained in:
Isaac Connor 2021-12-15 09:09:14 -05:00
parent fe0e4627ef
commit 12ebdacf54
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ sub executeCommand {
Error("Command '$command' exited with status: $status");
return 0;
} 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;
}