Code

Corrected index for new gotoShares
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 Jan 2006 12:32:24 +0000 (12:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 Jan 2006 12:32:24 +0000 (12:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2595 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 069e87044cc78503c099f1ad832ac8579fe2b9b2..b33b32fdb07eb26a40e5c61c2a00b8996015a71a 100644 (file)
@@ -508,9 +508,9 @@ class environment extends plugin
         $s_mount = $_POST['gotoShareMountPoint'];
         $s_user  = $_POST['ShareUser'];
         /* Preparing the new assignment */ 
-        $this->gotoShares[$a_share['name']]=$a_share;
-        $this->gotoShares[$a_share['name']]['Username']=$s_user;
-        $this->gotoShares[$a_share['name']]['mountPoint']=$s_mount;
+        $this->gotoShares[$a_share['name']."|".$a_share['server']]=$a_share;
+        $this->gotoShares[$a_share['name']."|".$a_share['server']]['Username']=$s_user;
+        $this->gotoShares[$a_share['name']."|".$a_share['server']]['mountPoint']=$s_mount;
       }
     }