mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Fixed a problem in App::__overload causing issues in PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6915 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d64bf9b3d8
commit
7e4224a1f9
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,7 @@ class App extends Object {
|
|||
function __overload($type, $name) {
|
||||
$overload = array('Model', 'Helper');
|
||||
|
||||
if (in_array($type, $overload)) {
|
||||
if (in_array($type, $overload) && low($name) != 'schema') {
|
||||
Overloadable::overload($name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue