mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-16 02:24:34 -04:00
Fix PHP code style: use consistent array syntax and proper comment style
Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
This commit is contained in:
@@ -274,14 +274,14 @@ echo $navbar ?>
|
||||
$filter = addFilterTerm(
|
||||
$eventCounts[$i]['filter'],
|
||||
count($eventCounts[$i]['filter']['Query']['terms']),
|
||||
count($displayMonitorIds) != $colAllAvailableMonitors #Add monitors to the filter only if the filter limit is set
|
||||
count($displayMonitorIds) != $colAllAvailableMonitors // Add monitors to the filter only if the filter limit is set
|
||||
? array(
|
||||
'cnj'=>'and',
|
||||
'attr'=>'Monitor',
|
||||
'op'=>'IN',
|
||||
'val'=>implode(',', $displayMonitorIds)
|
||||
)
|
||||
: ['cnj'=>'and', 'attr'=>'Monitor']
|
||||
: array('cnj'=>'and', 'attr'=>'Monitor')
|
||||
);
|
||||
parseFilter($filter);
|
||||
echo '<th data-sortable="true" data-field="'.$i.'Events" class="colEvents"><a '
|
||||
|
||||
Reference in New Issue
Block a user