diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 16:53:04 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 16:53:04 +0000 |
commit | 83aa919f302dfd00295defd03a089e0619bf9406 (patch) | |
tree | 3efdb4825161489107a47df516cac2b92756c08e /mod/groups/actions/edit.php | |
parent | ef62cf3614a62d61bd53061a0e2d4f81badfe175 (diff) | |
download | elgg-83aa919f302dfd00295defd03a089e0619bf9406.tar.gz elgg-83aa919f302dfd00295defd03a089e0619bf9406.tar.bz2 |
Refs #109: Invite support added
git-svn-id: https://code.elgg.org/elgg/trunk@1298 36083f99-b078-4883-b0ff-0f9b5a30f544
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); |