Commit c27b8c04 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Call pieforms before smarty to avoid js error


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 310726c6
......@@ -49,9 +49,10 @@ if (is_logged_in()) {
}
$view = group_get_homepage_view($group->id);
$viewcontent = $view->build_columns();
$smarty = smarty();
$smarty->assign('viewid', $view->get('id'));
$smarty->assign('viewcontent', $view->build_columns());
$smarty->assign('viewcontent', $viewcontent);
$smarty->assign('isadmin', $isadmin);
$smarty->display('group/view.tpl');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment