updating component, fixes #3648

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6083 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-11-26 16:56:22 +00:00
parent d793d40dac
commit cae5d5bb31

View file

@ -108,7 +108,7 @@ class Component extends Object {
if (in_array($component, array_keys($loaded)) !== true) {
if (!class_exists($componentCn)) {
if (is_null($plugin) || !loadPluginComponent($plugin, $component)) {
if (is_null($plugin) || !App::import('Component', $plugin . '.' . $component)) {
if (!App::import('Component', $component)) {
$this->cakeError('missingComponentFile', array(array(
'className' => $this->controller->name,