mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Can't push to an empty array
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
$where = '';
|
||||
$param = array();
|
||||
|
||||
if (!empty($_POST['searchPhrase'])) {
|
||||
$where .= 'S.msg LIKE "%'.mres($_POST['searchPhrase']).'%" AND ';
|
||||
|
Reference in New Issue
Block a user