Fixed small issue
authorMarcel Werk <burntime@woltlab.com>
Fri, 12 Apr 2013 17:54:09 +0000 (19:54 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 12 Apr 2013 17:54:09 +0000 (19:54 +0200)
wcfsetup/install/files/lib/data/user/option/category/UserOptionCategory.class.php

index a43151f0009d96ce5aed5237bb0705fe1b534308..8ffd1901fb803150edb3f7e5140b3f2f1609b8c7 100644 (file)
@@ -63,7 +63,7 @@ class UserOptionCategory extends DatabaseObject {
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute(array($categoryName));
                $row = $statement->fetchArray();
-               if ($row === falsch) return null;
+               if ($row === false) return null;
                
                return new UserOptionCategory(null, $row);
        }