From 09bd0720d5134ab57a2bad8714a6564ea51ad281 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 6 May 2017 13:48:48 +0200 Subject: [PATCH] #190 fixed PHP notice --- lam/templates/login.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lam/templates/login.php b/lam/templates/login.php index 228edd59..3d7b26f9 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -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.'); }