diff options
author | Andrew Dolgov <[email protected]> | 2021-02-10 22:03:08 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-10 22:03:08 +0300 |
commit | 2505ae43a99354fde461bbd61d48bd426cc093fa (patch) | |
tree | 56bf7fb9b67fa035e4e0c7e72051f86debf9dbf2 | |
parent | 9e1459d5dbde6a12c8eabda84d9e139a55f65d52 (diff) |
fix warning in profile edit dialog
-rw-r--r-- | classes/pref/prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<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 = ""; |