From f6523407875ed43a032048a10bf9ff862ac4deaa Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 15 Sep 2005 06:37:46 +0000 Subject: [PATCH] Added default button to edit_finish Mysql_close moved to end of funtion git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1366 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/class_userManagement.inc | 2 +- plugins/admin/users/main.inc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index fe485e2a9..e39db69e9 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -788,7 +788,6 @@ class userManagement extends plugin $fonac = preg_replace("/%title%/", $connected, $fonac); } } - mysql_close($r_con); } }else{ $fonac=$empty; @@ -897,6 +896,7 @@ class userManagement extends plugin $smarty->assign("alphabet", generate_alphabet()); $smarty->assign("hint", print_sizelimit_warning()); + @mysql_close($r_con); return ($smarty->fetch(get_template_path('headpage.tpl', TRUE))); } diff --git a/plugins/admin/users/main.inc b/plugins/admin/users/main.inc index 465ea979e..975a0ba9f 100644 --- a/plugins/admin/users/main.inc +++ b/plugins/admin/users/main.inc @@ -48,6 +48,11 @@ if ($remove_lock){ /* Generate dialog output */ $display.= $output; + $display.=" + "; /* Reset requested? */ if (isset($_GET['reset']) && $_GET['reset'] == 1){ -- 2.30.2