Author: phpnut
Date: 6:42:00 PM, Saturday, October 22, 2005
Message:
fixed return value in Model::findAll();





git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1164 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2005-10-23 02:39:20 +00:00
parent 9f411d1be4
commit ee07b4efa9

View file

@ -1089,9 +1089,15 @@ class Model extends Object
} }
} }
} }
if (!empty($newData))
{
return $newData; return $newData;
} }
else
{
return $data;
}
}
/** /**
* Enter description here... * Enter description here...