1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-19 06:42:14 +02:00

fix: various notice fixes (#3718)

This commit is contained in:
Dag
2023-09-29 19:17:03 +02:00
committed by GitHub
parent b9ec6a0eb4
commit 2172df9fa2
7 changed files with 27 additions and 5 deletions

View File

@@ -244,7 +244,7 @@ HTML,
if ($this->getInput('tagged')) {
$types[] = 'Tags';
}
$typesText = $types[0];
$typesText = $types[0] ?? '';
if (count($types) > 1) {
for ($i = 1; $i < count($types) - 1; $i++) {
$typesText .= ', ' . $types[$i];