fix bug 2016/01/25

修复引起前台个人中心显示异常的BUG
This commit is contained in:
Martin Zhou
2016-01-25 10:53:12 +08:00
parent 723a65923c
commit 4a3ce9d656
7 changed files with 28 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ class RegController extends Controller{
*/
public function index()
{
$tmodel= M('setting');
$title = $tmodel->where('id=1')->select();
$this->assign('title', $title);
$this->display();
}