mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-21 08:02:54 +02: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