From b1b74d0ecd097a205dbfb8cde7939d14fe14123a Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 15 Apr 2013 10:27:12 -0400 Subject: [PATCH] switch to explode since split deprecated --- interface/reports/report.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/reports/report.inc.php b/interface/reports/report.inc.php index 052fa22f9..41ad63467 100644 --- a/interface/reports/report.inc.php +++ b/interface/reports/report.inc.php @@ -37,7 +37,7 @@ function stripslashes_deep($value) //Parses the search value part of the criteria and prepares for sql. function PrepareSearchItem($SearchItem) { - $SplitArray=split(' like ',$SearchItem); + $SplitArray=explode(' like ',$SearchItem); if(isset($SplitArray[1])) { $SplitArray[1] = substr($SplitArray[1], 0, -1); @@ -46,7 +46,7 @@ function PrepareSearchItem($SearchItem) } else { - $SplitArray=split(' = ',$SearchItem); + $SplitArray=explode(' = ',$SearchItem); if(isset($SplitArray[1])) { $SplitArray[1] = substr($SplitArray[1], 0, -1); -- 2.11.4.GIT