From: Matthias Schmidt Date: Wed, 6 Nov 2013 18:09:03 +0000 (+0100) Subject: Fixes number of custom phrases X-Git-Tag: 2.0.0_RC_1~15^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d93e0401397ead76bf5d0c623e1bbfc4948b2e21;p=GitHub%2FWoltLab%2FWCF.git Fixes number of custom phrases --- diff --git a/wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php b/wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php index edcfb00682..a36d655c0e 100644 --- a/wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php @@ -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"; } /**