Code

Some fixes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:10:19 +0000 (11:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 11:10:19 +0000 (11:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1585 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 76f709634fc428c1825c17d048b89b621ea01fce..8e0943def79ff622a171e2f7e3b2fae3594da9ae 100644 (file)
@@ -42,7 +42,7 @@ class environment extends plugin
   var $gotoPrinter        = "";     //  The selected Printer
 
   /* Share */
-  var $gotoShares         = array();// Currently Share Option
+  var $gotoShares         = array();// Current Share Options
   var $gotoShare          = "";     // currently selected Share Option
   var $gotoShareSelections= array();// Available Shares for this account in Listbox format
   var $gotoAvailableShares= array();// Available Shares for this account
@@ -63,7 +63,7 @@ class environment extends plugin
                                     "gotoXResolution","gotoProfileQuota",
                                     "gotoLogonScripts","gotoLogonScript",
                                     "gotoPrinters",
-                                    "gotoShares","gotoShare","gotoShareSelections",
+                                    "gotoShares","gotoShare",
                                     "gotoKioskProfile","gotoKioskProfiles",
                                     "gotoHotplugDevices");
   var $objectclasses      = array("gotoEnvironment"); // Specifies the objectClass which contains the attributes edited here 
@@ -435,6 +435,7 @@ class environment extends plugin
     
     $smarty->assign("gotoShareSelections",    $this->gotoShareSelections);
     if(!is_array($this->gotoShareSelections)){
+      print $this->gotoShareSelections;
       $this->gotoShareSelections = array();
     }
     $smarty->assign("gotoShareSelectionKeys", array_flip($this->gotoShareSelections));