From 910c23e5ba9e81a1ba8f91a38f8ef2362453c104 Mon Sep 17 00:00:00 2001 From: Shagshag Date: Fri, 4 Jan 2013 21:34:02 +0100 Subject: [PATCH] _USER_ID_LANG_ doesn't exist anymore --- classes/Category.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/classes/Category.php b/classes/Category.php index 62c828ead..9def97038 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -240,9 +240,6 @@ class CategoryCore extends ObjectModel { $id_lang = is_null($id_lang) ? Context::getContext()->language->id : (int)$id_lang; - if (!(int)$id_lang) - $id_lang = _USER_ID_LANG_; - $children = array(); $subcats = $this->getSubCategories($id_lang, true); if (($max_depth == 0 || $current_depth < $max_depth) && $subcats && count($subcats))