diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 01:07:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 01:07:38 +0000 |
commit | 656bcd37c35b4a330394cdd2d9f9b84c8d9541bc (patch) | |
tree | 672cc8d89a38ed1d04280275fc7c4315df265bc3 | |
parent | 2f4cd4eb7d641fb0b2464eab1cf849ad7100c7b9 (diff) | |
download | elgg-656bcd37c35b4a330394cdd2d9f9b84c8d9541bc.tar.gz elgg-656bcd37c35b4a330394cdd2d9f9b84c8d9541bc.tar.bz2 |
Fixes #3244 fixed variable name in ElggPluginManifest
git-svn-id: http://code.elgg.org/elgg/trunk@8900 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/classes/ElggPluginManifest.php | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } |