Fixing magic method names

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4211 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2006-12-26 16:17:37 +00:00
parent c3e2c6b3d7
commit a4ca03ed69
4 changed files with 17 additions and 17 deletions

View file

@ -443,7 +443,7 @@ class Model extends Overloadable {
* @return unknown
* @access protected
*/
function __call__($method, $params) {
function call__($method, $params) {
$db =& ConnectionManager::getDataSource($this->useDbConfig);
$methods = array_map('strtolower', array_keys($this->__behaviorMethods));
@ -1691,7 +1691,7 @@ class Model extends Overloadable {
}
$result = $this->findAll($conditions, $fields, $order, $limit);
$this->recursive = $recursive;
if(!$result) {
return false;
}