changing array_key_exists to isset. Refs #5161

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7601 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-09-14 05:00:05 +00:00
parent 869cd1fe36
commit 2b984bed94

View file

@ -712,7 +712,7 @@ class View extends Object {
} }
$helperCn = $helper . 'Helper'; $helperCn = $helper . 'Helper';
if (array_key_exists($helper, $loaded) !== true) { if (!isset($loaded[$helper])) {
if (!class_exists($helperCn)) { if (!class_exists($helperCn)) {
$isLoaded = false; $isLoaded = false;
if (!is_null($plugin)) { if (!is_null($plugin)) {