summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorDavid Edler <[email protected]>2021-11-30 21:50:09 +0100
committerDavid Edler <[email protected]>2021-11-30 21:50:09 +0100
commit14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09 (patch)
treeded384a94570efb607e98a64bacab63f6b24ad39 /classes/pref
parentdf7b2e79849419fcc278c0549fdf10c094991558 (diff)
various fixes vor php 8.1 compatibility
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php
index 10f196b55..806291c72 100644
--- a/classes/pref/system.php
+++ b/classes/pref/system.php
@@ -138,7 +138,7 @@ class Pref_System extends Handler_Administrative {
$sth->execute($errno_values);
while ($line = $sth->fetch()) {
- foreach ($line as $k => $v) { $line[$k] = htmlspecialchars($v); }
+ foreach ($line as $k => $v) { $line[$k] = htmlspecialchars($v ?? ''); }
?>
<tr>
<td class='errno'>