Commit 13b6463e authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix php fatal error when adding a group views block (bug #746060)


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 7233d8f6
......@@ -145,6 +145,7 @@ class PluginBlocktypeGroupViews extends SystemBlocktype {
}
if (group_allows_submission($group->grouptype) && ($userviewdata = View::get_user_views())) {
require_once('pieforms/pieform.php');
// A user can submit more than one view to the same group, but no view can be
// submitted to more than one group.
......
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