Merged revisions 50840 via svnmerge from

http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50840 | ischommer | 2008-03-11 13:40:25 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixed PHP notices
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50834 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-03-11 00:40:37 +00:00 committed by Sam Minnee
parent c1fc0bcaaa
commit d8e43ce8b6

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