diff --git a/gosa-core/plugins/personal/environment/class_environment.inc b/gosa-core/plugins/personal/environment/class_environment.inc
index de73b496c66ce4fe7ba19a98851bfa99db8b0ce9..fe0be1d0189676b5814ecc3a5a10bf11e00b7fde 100644 (file)
$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);
}
}
/* 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";
}
}
}