Code

Corrected path
[gosa.git] / gosa-core / plugins / personal / environment / class_environment.inc
index de73b496c66ce4fe7ba19a98851bfa99db8b0ce9..fe0be1d0189676b5814ecc3a5a10bf11e00b7fde 100644 (file)
@@ -285,6 +285,8 @@ class environment extends plugin
       $error = true;
     }
     if($error && !empty($this->gotoKioskProfile)){
+      $this->gotoKioskProfile_Server ="none";
+      $this->gotoKioskProfile_Profile="";
       msg_dialog::display(_("Warning"), sprintf(_("Kiosk profile '%s' located on server '%s' is not available anymore. Kiosk profile will be disabled!"), $this->gotoKioskProfile_Profile, $this->gotoKioskProfile_Server), WARNING_DIALOG);
     }
   }
@@ -335,7 +337,7 @@ class environment extends plugin
 
           /* No other profile servers found */
           msg_dialog::display(_("Warning"), sprintf(_("Profile server '%s' is not available anymore. Kiosk profile will be disabled."), $this->gotoProfileServer), WARNING_DIALOG);
-          $this->gotoProfileServer = "";
+          $this->gotoProfileServer = "none";
         }
       }
     }