Skip to content

Commit a33227f

Browse files
committed
Fix PHP8 notice in language checker
1 parent a7a8af7 commit a33227f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qa-include/qa-check-lang.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ function get_phrase_substitutions($phrase)
238238
function output_lang_issue($prefix, $key, $issue, $error = true)
239239
{
240240
$colorClass = $error ? 'severe' : 'warning';
241+
$key = (string) $key;
241242

242243
$htmlKey = strlen($key) > 0 ? "'<strong>" . qa_html($key) . "</strong>'" : '';
243244

0 commit comments

Comments
 (0)