mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
d793d40dac
commit
cae5d5bb31
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue