1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-12 22:35:55 +00:00

Merge pull request 'Fix undefined array key "output" when adding new label' (#47) from klempin/tt-rss:master into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/47
This commit is contained in:
fox
2021-10-16 08:18:40 +03:00

View File

@@ -160,7 +160,7 @@ class Pref_Labels extends Handler_Protected {
function add() {
$caption = clean($_REQUEST["caption"]);
$output = clean($_REQUEST["output"]);
$output = clean($_REQUEST["output"] ?? false);
if ($caption) {
if (Labels::create($caption)) {