diff --git a/libraries/legacy/categories/categories.php b/libraries/legacy/categories/categories.php index 6e0e68692255a..9a847536ff74c 100644 --- a/libraries/legacy/categories/categories.php +++ b/libraries/legacy/categories/categories.php @@ -261,7 +261,7 @@ protected function _load($id) ->where('badcats.id is null'); // Note: i for item - if ($this->_options['currentlang'] !== 0 || $this->_options['countItems'] == 1) + if ($this->_options['countItems'] == 1) { $queryjoin = $db->quoteName($this->_table) . ' AS i ON i.' . $db->quoteName($this->_field) . ' = c.id';