Showing
1 changed file
with
1 additions
and
1 deletions
@@ -252,7 +252,7 @@ class IndexController extends AbstractAction | @@ -252,7 +252,7 @@ class IndexController extends AbstractAction | ||
252 | $data = IndexModel::getPageData($gender, $sortId, $uid, $udid, $page, $tag, $authorId, $isApp, $showAuthor, $isTab); | 252 | $data = IndexModel::getPageData($gender, $sortId, $uid, $udid, $page, $tag, $authorId, $isApp, $showAuthor, $isTab); |
253 | } while (false); | 253 | } while (false); |
254 | 254 | ||
255 | - if (isset($data)) { | 255 | + if (isset($data) && !empty($data)) { |
256 | $this->_view->display('page', $data); | 256 | $this->_view->display('page', $data); |
257 | } else { | 257 | } else { |
258 | echo ' '; | 258 | echo ' '; |
-
Please register or login to post a comment