specify ZoneMinder::Database for zmSQLExecute

This commit is contained in:
Isaac Connor committed 2021-12-15 09:11:55 -05:00
1 parent fe0e4627ef
commit 12ebdacf54
1 file changed
+1 -1
+1 -1
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;
}