#190 fixed PHP notice

This commit is contained in:
Roland Gruber 2017-05-06 13:48:48 +02:00
parent 711d5b3d77
commit 09bd0720d5
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,8 @@ else {
$_SESSION["config"] = null;
}
$error_message = null;
if (!isset($default_Config->default) || !in_array($default_Config->default, $profiles)) {
$error_message = _('No default profile set. Please set it in the server profile configuration.');
}