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
master
fox 3 years ago
commit d1ffe6d6cf

@ -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)) {

Loading…
Cancel
Save