Changeset 22092
- Timestamp:
- 2012/11/11 03:01:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r21867 r22092 156 156 $this->root_parent_id[] = $arrParentID[0]; 157 157 $arrDispID = array_merge($arrBrothersID, $arrChildrenID); 158 foreach ($arrRet as $key => $array) { 159 foreach ($arrDispID as $val) { 160 if ($array['category_id'] == $val) { 161 $arrRet[$key]['display'] = 1; 162 break; 163 } 158 foreach($arrRet as &$arrCategory) { 159 if (in_array($arrCategory['category_id'], $arrDispID)) { 160 $arrCategory['display'] = 1; 164 161 } 165 162 }
Note: See TracChangeset
for help on using the changeset viewer.