From d93e0401397ead76bf5d0c623e1bbfc4948b2e21 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 6 Nov 2013 19:09:03 +0100 Subject: [PATCH] Fixes number of custom phrases --- wcfsetup/install/files/lib/acp/page/LanguageListPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } /** -- 2.20.1