mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-29 03:01:43 -04:00
Actually fix problem by not putting () on an integer has-post_sql_conditions
This commit is contained in:
@@ -226,7 +226,7 @@ function queryRequest($filter, $search, $advsearch, $sort, $offset, $order, $lim
|
||||
GROUP BY E.Id
|
||||
'.($sort?' ORDER BY '.$sort.' '.$order:'');
|
||||
|
||||
if ((int)($filter->limit()) and !$has_post_sql_conditions()) {
|
||||
if ((int)($filter->limit()) and !$has_post_sql_conditions) {
|
||||
$sql .= ' LIMIT '.(int)($filter->limit());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user