From d097f55f9dbc631ff8c3d2d5de463917d63c2544 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 9 Jun 2006 10:37:18 +0000 Subject: [PATCH] Fixed problem in deletion/pw reset git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3752 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 3ade4912e..4132771b4 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -561,6 +561,7 @@ class environment extends plugin $once = false; $key = preg_replace("/^gotoShareDel_/","",$name); $key = preg_replace("/_+[xy]$/","",$key); + $key = preg_replace("/_/", ".", $key); if(isset($this->gotoShares[$key])) { unset($this->gotoShares[$key]); } @@ -569,6 +570,7 @@ class environment extends plugin $once = false; $key = preg_replace("/^gotoShareResetPwd_/","",$name); $key = preg_replace("/_+[xy]$/","",$key); + $key = preg_replace("/_/", ".", $key); $this->gotoShares[$key]['PwdHash'] = ""; } } -- 2.30.2