diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index fb1aff3f4..424a38b85 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -1248,7 +1248,7 @@ class Pref_Prefs extends Handler_Protected { print ""; - if ($_SESSION["profile"] == $line["id"]) { + if (isset($_SESSION["profile"]) && $_SESSION["profile"] == $line["id"]) { $is_active = __("(active)"); } else { $is_active = "";