mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:35:56 +00:00
Fix undefined array key "output" when adding new label
This commit is contained in:
@@ -160,7 +160,7 @@ class Pref_Labels extends Handler_Protected {
|
|||||||
|
|
||||||
function add() {
|
function add() {
|
||||||
$caption = clean($_REQUEST["caption"]);
|
$caption = clean($_REQUEST["caption"]);
|
||||||
$output = clean($_REQUEST["output"]);
|
$output = clean($_REQUEST["output"] ?? false);
|
||||||
|
|
||||||
if ($caption) {
|
if ($caption) {
|
||||||
if (Labels::create($caption)) {
|
if (Labels::create($caption)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user