From: hickert Date: Thu, 7 Sep 2006 03:22:08 +0000 (+0000) Subject: Readded ability to create a new user from a template using the headpage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34b8bdb27aed5c5857e3878d3e40924faa9b51fd;p=gosa.git Readded ability to create a new user from a template using the headpage git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 857289438..71ce462eb 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -79,6 +79,7 @@ class userManagement extends plugin foreach(array("del" => "user_del", "edit" => "user_edit", "new" => "user_new", "new_tpl" => "user_tplnew", + "create_user_from_tpl" => "userfrom_tpl", "change_pw" => "user_chgpw", "editPaste" => "editPaste", "copy" => "copy", "cut" => "cut") as $act => $name){ @@ -507,7 +508,7 @@ class userManagement extends plugin ********************/ /* Continue template editing */ - if ((isset($_POST['template_continue']) && $_POST['template'] != 'none' && !isset($_POST['uid']))){ + if ((isset($_POST['template_continue'])) && ($_POST['template'] != 'none') && (!isset($_POST['uid']))){ $this->sn = $_POST['sn']; $this->givenName = $_POST['givenName'];