mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
[1163]
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:
parent
9f411d1be4
commit
ee07b4efa9
1 changed files with 9 additions and 3 deletions
|
@ -1089,9 +1089,15 @@ class Model extends Object
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!empty($newData))
|
||||||
|
{
|
||||||
return $newData;
|
return $newData;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Enter description here...
|
||||||
|
|
Loading…
Reference in a new issue