diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm index f483e545c..726685a7e 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm @@ -413,7 +413,7 @@ sub Sql { $sql .= ' LIMIT 0,'.$filter_expr->{limit}; } if ($$self{LockRows}) { - $sql .= ' FOR UPDATE' + $sql .= ' FOR UPDATE'; if ($filter_expr->{skip_locked}) { $sql .= ' SKIP LOCKED'; }