Authored by 梁志锋

逛页面 正在加载的bug修复

... ... @@ -252,7 +252,7 @@ class IndexController extends AbstractAction
$data = IndexModel::getPageData($gender, $sortId, $uid, $udid, $page, $tag, $authorId, $isApp, $showAuthor, $isTab);
} while (false);
if (isset($data)) {
if (isset($data) && !empty($data)) {
$this->_view->display('page', $data);
} else {
echo ' ';
... ...