From 656bcd37c35b4a330394cdd2d9f9b84c8d9541bc Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 2 Apr 2011 01:07:38 +0000 Subject: Fixes #3244 fixed variable name in ElggPluginManifest git-svn-id: http://code.elgg.org/elgg/trunk@8900 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPluginManifest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/classes/ElggPluginManifest.php') diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php index fae12de10..a0ec478a9 100644 --- a/engine/classes/ElggPluginManifest.php +++ b/engine/classes/ElggPluginManifest.php @@ -493,12 +493,12 @@ class ElggPluginManifest { // also normalize boolean values if (isset($dep['value'])) { - switch (strtolower($normalized_dep['value'])) { + switch (strtolower($dep['value'])) { case 'yes': case 'true': case 'on': case 1: - $normalized_dep['value'] = 1; + $dep['value'] = 1; break; case 'no': @@ -506,7 +506,7 @@ class ElggPluginManifest { case 'off': case 0: case '': - $normalized_dep['value'] = 0; + $dep['value'] = 0; break; } } -- cgit v1.2.3