Fixes number of custom phrases
authorMatthias Schmidt <gravatronics@live.com>
Wed, 6 Nov 2013 18:09:03 +0000 (19:09 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 6 Nov 2013 18:09:03 +0000 (19:09 +0100)
wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php

index edcfb00682207aa9052ecfbb60dff6de75c24057..a36d655c0eb6b3e813843388ad71e3aab2bcd4af 100644 (file)
@@ -47,7 +47,7 @@ class LanguageListPage extends SortablePage {
                
                $this->objectList->sqlSelects = "(SELECT COUNT(*) FROM wcf".WCF_N."_user user WHERE languageID = language.languageID) AS users,";
                $this->objectList->sqlSelects .= "(SELECT COUNT(*) FROM wcf".WCF_N."_language_item WHERE languageID = language.languageID) AS variables,";
-               $this->objectList->sqlSelects .= "(SELECT COUNT(*) FROM wcf".WCF_N."_language_item WHERE languageID = language.languageID AND languageCustomItemValue <> NULL) AS customVariables";
+               $this->objectList->sqlSelects .= "(SELECT COUNT(*) FROM wcf".WCF_N."_language_item WHERE languageID = language.languageID AND languageCustomItemValue IS NOT NULL) AS customVariables";
        }
        
        /**