mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-06 16:51:32 +00:00
change handling of GLOBAL_ENABLE_LABELS when disabled
This commit is contained in:
@@ -2252,6 +2252,8 @@
|
||||
if ($op == "pref-labels") {
|
||||
|
||||
if (!GLOBAL_ENABLE_LABELS) {
|
||||
|
||||
print "<p>Sorry, labels have been administratively disabled for this installation. Please contact instance owner or edit configuration file to enable this functionality.</p>";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user