From 83084096ad47ba33d3bcb2815f85f565e3f0e9cb Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 2 Nov 2012 01:09:33 +0100 Subject: [PATCH] Fixes typo --- .../files/lib/system/cache/builder/OptionCacheBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php index cf76d1852c..b11cd1b637 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/OptionCacheBuilder.class.php @@ -60,7 +60,7 @@ class OptionCacheBuilder implements ICacheBuilder { $optionCategories[$row['categoryName']] = $row['categoryID']; } - if (!empty($optionCategories) > 0) { + if (!empty($optionCategories)) { // get needed option categories $conditions = new PreparedStatementConditionBuilder(); $conditions->add("categoryID IN (?)", array($optionCategories)); -- 2.20.1