summaryrefslogtreecommitdiff
path: root/classes/pref/system.php
diff options
context:
space:
mode:
authorfox <[email protected]>2021-12-01 10:52:12 +0300
committerfox <[email protected]>2021-12-01 10:52:12 +0300
commita72e24343bddbee4aa2b354aabd91b55e33cd71e (patch)
treecd3134c15776e6cef62205c0e382bd2ed40d0de6 /classes/pref/system.php
parentdf7b2e79849419fcc278c0549fdf10c094991558 (diff)
parent72e21f89ce2465fafc08a92dc2d216b55f355f28 (diff)
Merge pull request 'Fixes for php 8.1 compatibility' (#56) from magicDave/tt-rss:php8.1-fixes into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/56
Diffstat (limited to 'classes/pref/system.php')
-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'>