From 89dc22e15851998036483d34262e8d91980f20f3 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 12 Jul 2006 07:06:45 +0000 Subject: [PATCH] Fixed . - Prolbem with shares git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4114 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 67c487600..b1c76c3a7 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -561,14 +561,14 @@ class environment extends plugin $once = false; $key = preg_replace("/^gotoShareDel_/","",$name); $key = preg_replace("/_+[xy]$/","",$key); - $key = preg_replace("/_/", ".", $key); + $key = base64_decode($key); if(isset($this->gotoShares[$key])) { unset($this->gotoShares[$key]); } /* Remove corresponding password entry, too. This is a workaround to get rid of old-style entries. */ - $key= preg_replace("/\|/", "|!", $key); + $key= base64_decode($key); if(isset($this->gotoShares[$key])) { unset($this->gotoShares[$key]); } @@ -578,7 +578,7 @@ class environment extends plugin $once = false; $key = preg_replace("/^gotoShareResetPwd_/","",$name); $key = preg_replace("/_+[xy]$/","",$key); - $key = preg_replace("/_/", ".", $key); + $key = base64_decode($key); $this->gotoShares[$key]['PwdHash'] = ""; } } @@ -598,7 +598,7 @@ class environment extends plugin /* Create pwd reset images */ if($this->gotoShares[$key]['PwdHash'] != ""){ - $img.= ""; } $field1 = array("string" => "".$value."" ); @@ -607,11 +607,11 @@ class environment extends plugin /* Create pwd reset img && delete image */ if($this->gotoShares[$key]['PwdHash'] != ""){ - $img.= ""; $img.= " "; } - $img.= ""; $field1 = array("string" => $value); $field2 = array("string" => $img , "attach" => "style='border-right:0px;'"); -- 2.30.2