Fix syntax error in OptionEditor
authorTim Düsterhus <duesterhus@woltlab.com>
Sat, 20 Apr 2013 21:43:01 +0000 (23:43 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sat, 20 Apr 2013 21:43:01 +0000 (23:43 +0200)
wcfsetup/install/files/lib/data/option/OptionEditor.class.php

index c60ad80af95c26608474c6453da6b93fffc46ee7..c57bbfd5c0bdb728d7e6a9509fa06f7d64f6670f 100644 (file)
@@ -75,7 +75,7 @@ class OptionEditor extends DatabaseObjectEditor implements IEditableCachedObject
                
                $flushCache = false;
                foreach ($options as $id => $value) {
-                       if ($id == $row['optionID'] && ($value != $row['optionValue'] || $value != CACHE_SOURCE_TYPE) {
+                       if ($id == $row['optionID'] && ($value != $row['optionValue'] || $value != CACHE_SOURCE_TYPE)) {
                                $flushCache = true;
                        }