Skip to content

Commit b011eb1

Browse files
authored
Merge pull request #995 from pupi1985/patch-169
Another PHP 8 fix
2 parents 2c945ea + b52f0dc commit b011eb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qa-include/app/format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function qa_get_favorite_non_qs_map()
165165
break;
166166

167167
case QA_ENTITY_TAG:
168-
$qa_favorite_non_qs_map['tag'][qa_strtolower($favorite['tags'])] = true;
168+
$qa_favorite_non_qs_map['tag'][qa_strtolower($favorite['tags'] ?? '')] = true;
169169
break;
170170

171171
case QA_ENTITY_CATEGORY:

0 commit comments

Comments
 (0)