Fixed small issue
authorMarcel Werk <burntime@woltlab.com>
Mon, 9 Apr 2012 18:36:11 +0000 (20:36 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 9 Apr 2012 18:36:11 +0000 (20:36 +0200)
wcfsetup/install/files/lib/system/option/OptionHandler.class.php

index 79d431d67077ad1360a44e633e83e84e3e733d42..96ce23c2e589319a494585519be13394424f12d5 100644 (file)
@@ -471,9 +471,9 @@ class OptionHandler implements IOptionHandler {
                
                if ($option->options) {
                        $hasEnabledOption = false;
-                       $options = explode(',', strtoupper($option->options));
-                       foreach ($options as $option) {
-                               if (defined($option) && constant($option)) {
+                       $__options = explode(',', strtoupper($option->options));
+                       foreach ($__options as $__option) {
+                               if (defined($__option) && constant($__option)) {
                                        $hasEnabledOption = true;
                                        break;
                                }