fixed PHP notices

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50833 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-03-11 00:40:25 +00:00
parent ed520fe9df
commit 5c76b90fb7

View File

@ -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")