Can't push to an empty array

This commit is contained in:
David Bell
2016-03-08 15:22:02 +00:00
parent 0d8ba52a73
commit a09d3143f5

View File

@@ -1,6 +1,7 @@
<?php
$where = '';
$param = array();
if (!empty($_POST['searchPhrase'])) {
$where .= 'S.msg LIKE "%'.mres($_POST['searchPhrase']).'%" AND ';