summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorfox <[email protected]>2022-03-08 20:15:01 +0300
committerfox <[email protected]>2022-03-08 20:15:01 +0300
commit95431890bea57c6fcc3f6198a7a27b1993f3fba4 (patch)
treef2659b0783b1398d17a6bc2d2a3b4da1f324ecca /classes/pref
parenta39557451604ba1ad4558f8283f1a13ca76ba5ba (diff)
parentde1e218a835979a2b9b561cd6d5934cdc436dd67 (diff)
Merge pull request 'Support PHP 8.1 while keeping compatibility with 7.x' (#67) from yan12125/tt-rss:php8.1 into master
Reviewed-on: https://git-gitea.tt-rss.org/fox/tt-rss/pulls/67
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'>