Authored by Rock Zhang

修复个人中心首页报错的bug

... ... @@ -37,7 +37,7 @@ class FloorProcess
if (empty($v)) {
continue;
}
$fun = $v['template_name'];
if (empty($v['data']) || !is_callable("self::$fun")) {
continue;
... ...
... ... @@ -51,8 +51,9 @@ class HomeController extends AbstractAction
$uid = $this->getUid(true);
if ($uid) {
$data['isLogin'] = true;
$udid = $this->getUdid();
$data += UserModel::getUserProfileData($uid);
$data += UserModel::getInfoNumData($uid);
$data += UserModel::getInfoNumData($uid, $udid);
}
$this->_view->display('index', $data);
... ...