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:
the_undefined 2008-05-17 21:45:25 +00:00
parent d64bf9b3d8
commit 7e4224a1f9

View file

@ -989,7 +989,7 @@ class App extends Object {
function __overload($type, $name) { function __overload($type, $name) {
$overload = array('Model', 'Helper'); $overload = array('Model', 'Helper');
if (in_array($type, $overload)) { if (in_array($type, $overload) && low($name) != 'schema') {
Overloadable::overload($name); Overloadable::overload($name);
} }
} }