fix warning in profile edit dialog

This commit is contained in:
Andrew Dolgov 2021-02-10 22:03:08 +03:00
parent 9e1459d5db
commit 2505ae43a9
1 changed files with 1 additions and 1 deletions

View File

@ -1248,7 +1248,7 @@ class Pref_Prefs extends Handler_Protected {
print "<td><input onclick='Tables.onRowChecked(this);' dojoType='dijit.form.CheckBox' type='checkbox'></td>";
if ($_SESSION["profile"] == $line["id"]) {
if (isset($_SESSION["profile"]) && $_SESSION["profile"] == $line["id"]) {
$is_active = __("(active)");
} else {
$is_active = "";