From 5c76b90fb75c3bc4b309a4e474fc10c512b1cd68 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 11 Mar 2008 00:40:25 +0000 Subject: [PATCH] fixed PHP notices git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50833 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/DataReport.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/forms/DataReport.php b/forms/DataReport.php index b8d89fbe8..c3f58d2e9 100755 --- a/forms/DataReport.php +++ b/forms/DataReport.php @@ -358,6 +358,10 @@ HTML *Todo: get all records of base table that meet the $this->filter, $this->join, $this->datefilter, sort by $this->sort */ function getRecords(){ + $join = ''; + $filter = ''; + $sort = ''; + if($this->filter){ $i=0; //$this->filter should be an array, such as array("MemberID"=>array("1", "2), "OrderType"=>"normal")