Set theme credits to empty string if null.

This commit is contained in:
Mike Macgirvin 2023-10-14 06:00:55 +11:00
parent 8acda06d71
commit 07f144eee0

View file

@ -38,7 +38,7 @@ class Theme_info extends Controller
// unfortunately there will be no translation for this string
$desc = $info['description'];
$version = $info['version'];
$credits = $info['credits'];
$credits = $info['credits'] ?? '';
} else {
$desc = '';
$version = '';