From 2b984bed94f20e6f706e9f14bb6412595ae2130b Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 14 Sep 2008 05:00:05 +0000 Subject: [PATCH] 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 --- cake/libs/view/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index b5756eb9b..779544f40 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -712,7 +712,7 @@ class View extends Object { } $helperCn = $helper . 'Helper'; - if (array_key_exists($helper, $loaded) !== true) { + if (!isset($loaded[$helper])) { if (!class_exists($helperCn)) { $isLoaded = false; if (!is_null($plugin)) {