Authored by 2586703@qq.com

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohood into develop

@@ -270,7 +270,12 @@ class Facade_News @@ -270,7 +270,12 @@ class Facade_News
270 public static function getSameNewsById($id, $exceptTags = array()) 270 public static function getSameNewsById($id, $exceptTags = array())
271 { 271 {
272 $ids = Facade_Brand::getSameNewsByNewsID($id); 272 $ids = Facade_Brand::getSameNewsByNewsID($id);
273 - return self::service()->getNewsByOrderId($ids, $exceptTags); 273 + $news = array();
  274 + if(!empty($ids))
  275 + {
  276 + $news = self::service()->getNewsByOrderId($ids, $exceptTags);
  277 + }
  278 + return $news;
274 } 279 }
275 280
276 /** 281 /**