From 7e4224a1f94c22d325b98d08051665b82c96582b Mon Sep 17 00:00:00 2001 From: the_undefined Date: Sat, 17 May 2008 21:45:25 +0000 Subject: [PATCH] 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 --- cake/libs/configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/configure.php b/cake/libs/configure.php index b00fbd7a5..d3bbc1cf9 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -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); } }