Merge branch 'release/4.4' of http://git.dev.yoho.cn/web/yohobuy into release/4.4
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -881,7 +881,7 @@ class HelperSearch | @@ -881,7 +881,7 @@ class HelperSearch | ||
881 | unset($params['style']); | 881 | unset($params['style']); |
882 | } | 882 | } |
883 | $result = array(); | 883 | $result = array(); |
884 | - $style = $filter['style']; | 884 | + $style = empty($filter['style']) ? array() : $filter['style']; |
885 | $styleNum = 0; | 885 | $styleNum = 0; |
886 | $styleName = ''; | 886 | $styleName = ''; |
887 | foreach ($style as $v) { | 887 | foreach ($style as $v) { |
-
Please register or login to post a comment