diff options
-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; } } |