1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:05:56 +00:00

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

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