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 <?php
$where = ''; $where = '';
$param = array();
if (!empty($_POST['searchPhrase'])) { if (!empty($_POST['searchPhrase'])) {
$where .= 'S.msg LIKE "%'.mres($_POST['searchPhrase']).'%" AND '; $where .= 'S.msg LIKE "%'.mres($_POST['searchPhrase']).'%" AND ';