diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-06-11 13:12:14 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-06-11 13:12:14 +0000 |
commit | 5c1f26521ed42546d23f3968226fcb30e9f0a7db (patch) | |
tree | adee3dae3aaf98b988efa225423171a281e791e0 /mod/groups/actions | |
parent | 52f8484a15439295fb01a9c6f14284c676f48982 (diff) | |
download | elgg-5c1f26521ed42546d23f3968226fcb30e9f0a7db.tar.gz elgg-5c1f26521ed42546d23f3968226fcb30e9f0a7db.tar.bz2 |
Refs #3407 adds a footer for forms
git-svn-id: http://code.elgg.org/elgg/trunk@9167 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions')
-rw-r--r-- | mod/groups/actions/groups/delete.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/groups/actions/groups/delete.php b/mod/groups/actions/groups/delete.php index 932d03355..2ff6c339c 100644 --- a/mod/groups/actions/groups/delete.php +++ b/mod/groups/actions/groups/delete.php @@ -3,7 +3,12 @@ * Delete a group */ -$guid = (int) get_input('group_guid'); +$guid = (int) get_input('guid'); +if (!$guid) { + // backward compatible + elgg_deprecated_notice("Use 'guid' for group delete action", 1.8); + $guid = (int)get_input('group_guid'); +} $entity = get_entity($guid); if (!$entity->canEdit()) { |