From: hickert Date: Tue, 15 Jan 2008 08:16:06 +0000 (+0000) Subject: Closes #315 Kiosk profile settings will be resetted to 'none' if the selected profile... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5b6dfb8682d0b5bb19a3785ee11ff8b91d6881d0;p=gosa.git Closes #315 Kiosk profile settings will be resetted to 'none' if the selected profile is no longer available. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8339 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/environment/class_environment.inc b/gosa-core/plugins/personal/environment/class_environment.inc index de73b496c..fe0be1d01 100644 --- a/gosa-core/plugins/personal/environment/class_environment.inc +++ b/gosa-core/plugins/personal/environment/class_environment.inc @@ -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"; } } }