_USER_ID_LANG_ doesn't exist anymore

This commit is contained in:
Shagshag
2013-01-04 21:34:02 +01:00
parent a3194257c8
commit 6516c768d9
-3
View File
@@ -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))