fix warning in profile edit dialog

master
Andrew Dolgov 4 years ago
parent 9e1459d5db
commit 2505ae43a9

@ -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 = "";

Loading…
Cancel
Save