summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-12-01 13:37:35 +0300
committerAndrew Dolgov <[email protected]>2021-12-01 13:37:35 +0300
commita201e10ee024f03fb6aad0ec1069cc4da72a9ac5 (patch)
tree1d0c5549390541694721e5d85e35f509feccc4ee /classes/pref
parentaaebe55456b34b878b7bcccef021af7f2c8d3a75 (diff)
Revert "various fixes vor php 8.1 compatibility"
This reverts commit 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09.
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 806291c72..10f196b55 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'>