Changeset 21526 for branches/version-2_12-dev/data/class/pages/rss
- Timestamp:
- 2012/02/17 00:50:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/rss/LC_Page_Rss_Products.php
r21514 r21526 79 79 $mode = $this->getMode(); 80 80 switch ($mode) { 81 case 'all': 82 $arrProducts = $this->lfGetProductsDetailData($mode, $product_id); 83 break; 84 case 'list': 85 if ($product_id != '' && is_numeric($product_id)) { 81 case 'all': 86 82 $arrProducts = $this->lfGetProductsDetailData($mode, $product_id); 87 } else { 88 $arrProducts = $this->lfGetProductsListData(); 89 } 90 break; 91 default: 92 if ($product_id != '' && is_numeric($product_id)) { 93 $arrProducts = $this->lfGetProductsDetailData($mode, $product_id); 94 } else { 95 $arrProducts = $this->lfGetProductsAllData(); 96 } 97 break; 83 break; 84 case 'list': 85 if ($product_id != '' && is_numeric($product_id)) { 86 $arrProducts = $this->lfGetProductsDetailData($mode, $product_id); 87 } else { 88 $arrProducts = $this->lfGetProductsListData(); 89 } 90 break; 91 default: 92 if ($product_id != '' && is_numeric($product_id)) { 93 $arrProducts = $this->lfGetProductsDetailData($mode, $product_id); 94 } else { 95 $arrProducts = $this->lfGetProductsAllData(); 96 } 97 break; 98 98 } 99 99
Note: See TracChangeset
for help on using the changeset viewer.