diff options
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r-- | mod/groups/actions/edit.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php index 4e9cdf99e..c8eebbd84 100644 --- a/mod/groups/actions/edit.php +++ b/mod/groups/actions/edit.php @@ -45,6 +45,15 @@ } } + // Validate create + if (!$group->title) + { + system_message(elgg_echo("groups:notitle")); + + forward($_SERVER['HTTP_REFERER']); + exit; + } + // Get access $group->access_id = get_input('access_id', 0); |