diff --git a/admin/accounts.php b/admin/accounts.php index b76206da50..6f72cbc430 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -96,7 +96,6 @@ } - $t->set_var("hidden_vars",$phpgw->form_sessionid()); $t->set_var("actionurl",$phpgw->link("newaccount.php")); $t->set_var("lang_add",lang_common("add")); $t->set_var("lang_search",lang_common("search")); diff --git a/admin/newgroup.php b/admin/newgroup.php index 11ac8227dd..2ad3499f1f 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -26,7 +26,10 @@ $phpgw->db->next_record(); if ($phpgw->db->f(0) != 0) { - $error = lang_admin("Sorry, that group name has already been taking."); + $error = "
" . lang_admin("Sorry, that group name has already been taking."); + } + if (! $n_group) { + $error = "
" . lang_admin("You must enter a group name."); } if (! $error) { @@ -72,7 +75,6 @@ } $t->set_var("form_action",$phpgw->link("newgroup.php")); - $t->set_var("hidden_vars",""); $t->set_var("lang_group_name",lang_admin("New group name")); $t->set_var("group_name_value","");