Commit 0d9217234b1c1d5d9be7a7f7eb635c28e9c7923b

Authored by nbm
1 parent 40532783

Redirect to adding users to the group when creating a group

Inspired by:	Valeria Costa <v.costa@pisa.iol.it>


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3626 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/groupmanagement/addGroupBL.php
... ... @@ -53,8 +53,8 @@ if (checkSession()) {
53 53 $default->log->info("set group (id=" . $oGroup->getID() . ") to unit id=$fUnitID");
54 54 $oGroupUnit = new GroupUnitLink($oGroup->getID(), $fUnitID);
55 55 if ($oGroupUnit->create()) {
56   - // redirect to list page
57   - controllerRedirect("listGroups");
  56 + // redirect to group users page
  57 + controllerRedirect("editGroupUsers", "fGroupID=" . $oGroup->getID());
58 58 } else {
59 59 $oPatternCustom->setHtml(statusPage(_("Add A New Group"), _("Addition Unsuccessful") . "!", _("There was an error associating the new group with the specified unit."), "addGroup"));
60 60 }
... ...