mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 04:52:42 +00:00
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:
parent
c3e2c6b3d7
commit
a4ca03ed69
4 changed files with 17 additions and 17 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue