Authored by xuqi

Merge branch 'hotfix/analysis' of http://git.dev.yoho.cn/web/yohobuy into hotfix/analysis

@@ -69,6 +69,8 @@ class IndexController extends WebAction @@ -69,6 +69,8 @@ class IndexController extends WebAction
69 $skn[] = $value['skn']; 69 $skn[] = $value['skn'];
70 } 70 }
71 $arr = array('skn'=>$skn); 71 $arr = array('skn'=>$skn);
  72 + }else{
  73 + $arr = array('skn'=>array());
72 } 74 }
73 75
74 $seo = $data['seo']; 76 $seo = $data['seo'];
@@ -37,6 +37,8 @@ class ListController extends WebAction @@ -37,6 +37,8 @@ class ListController extends WebAction
37 $skn[] = $value['skn']; 37 $skn[] = $value['skn'];
38 } 38 }
39 $arr = array('skn'=>$skn); 39 $arr = array('skn'=>$skn);
  40 + }else{
  41 + $arr = array('skn'=>array());
40 } 42 }
41 43
42 // 渲染模板 44 // 渲染模板
@@ -72,6 +74,8 @@ class ListController extends WebAction @@ -72,6 +74,8 @@ class ListController extends WebAction
72 $skn[] = $value['skn']; 74 $skn[] = $value['skn'];
73 } 75 }
74 $arr = array('skn'=>$skn); 76 $arr = array('skn'=>$skn);
  77 + }else{
  78 + $arr = array('skn'=>array());
75 } 79 }
76 80
77 $data = array( 81 $data = array(
@@ -112,6 +116,8 @@ class ListController extends WebAction @@ -112,6 +116,8 @@ class ListController extends WebAction
112 $skn[] = $value['skn']; 116 $skn[] = $value['skn'];
113 } 117 }
114 $arr = array('skn'=>$skn); 118 $arr = array('skn'=>$skn);
  119 + }else{
  120 + $arr = array('skn'=>array());
115 } 121 }
116 122
117 $data = array( 123 $data = array(
@@ -62,6 +62,8 @@ class SaleController extends WebAction @@ -62,6 +62,8 @@ class SaleController extends WebAction
62 $skn[] = $value['skn']; 62 $skn[] = $value['skn'];
63 } 63 }
64 $arr = array('skn'=>$skn); 64 $arr = array('skn'=>$skn);
  65 + }else{
  66 + $arr = array('skn'=>array());
65 } 67 }
66 68
67 $data = array( 69 $data = array(
@@ -26,6 +26,8 @@ class SearchController extends WebAction @@ -26,6 +26,8 @@ class SearchController extends WebAction
26 $skn[] = $value['skn']; 26 $skn[] = $value['skn'];
27 } 27 }
28 $arr = array('skn'=>$skn); 28 $arr = array('skn'=>$skn);
  29 + }else{
  30 + $arr = array('skn'=>array());
29 } 31 }
30 32
31 $data = array( 33 $data = array(