From 12ebdacf543d506d687b9b779c94ea2e19381dce Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 15 Dec 2021 09:09:14 -0500 Subject: [PATCH] specify ZoneMinder::Database for zmSQLExecute --- scripts/zmfilter.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index fd927020f..c0cdf7235 100644 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -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; }