stricter nulls

This commit is contained in:
Shish
2023-06-27 17:45:35 +01:00
parent eca49bfc94
commit 8fb6fd5f54
18 changed files with 21 additions and 25 deletions

View File

@@ -175,7 +175,7 @@ class TagEditCloud extends Extension
}
if ($counter++ <= $def_count) {
if ($last_cat !== $current_cat && $last_cat != null) {
if ($last_cat !== $current_cat && $last_cat !== null) {
$cloud .= "</span><span class='tag-category'>\n";
} //TODO: Maybe add a title for the category after the span opens?
$cloud .= $entry;