We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61e52f commit 58964e7Copy full SHA for 58964e7
1 file changed
system/Security/CheckPhpIni.php
@@ -182,8 +182,8 @@ private static function checkIni(?string $argument = null): array
182
foreach ($items as $key => $values) {
183
$hasKeyInIni = array_key_exists($key, $ini);
184
$output[$key] = [
185
- 'global' => $hasKeyInIni ? $ini[$key]['global_value'] : 'disabled',
186
- 'current' => $hasKeyInIni ? $ini[$key]['local_value'] : 'disabled',
+ 'global' => $hasKeyInIni ? (string) ($ini[$key]['global_value'] ?? '') : 'disabled',
+ 'current' => $hasKeyInIni ? (string) ($ini[$key]['local_value'] ?? '') : 'disabled',
187
'recommended' => $values['recommended'] ?? '',
188
'remark' => $values['remark'] ?? '',
189
];
0 commit comments