aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-03-13 13:10:09 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-13 13:10:09 +0100
commitedee27ff0f3067e675bd535b7c55d1a86114b0b1 (patch)
treec8acc1917a9ced760447f30a60bcab99bbce40da /lib
parentb6223f2cfb1842ae75b28cb60dbe22cb95b0c0d6 (diff)
Merge SimplePie 747 (#5199)
* Merge SimplePie 747 #fix https://github.com/FreshRSS/FreshRSS/issues/5195 Upstream https://github.com/simplepie/simplepie/pull/747 * Syntax error
Diffstat (limited to 'lib')
-rw-r--r--lib/SimplePie/SimplePie/Misc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SimplePie/SimplePie/Misc.php b/lib/SimplePie/SimplePie/Misc.php
index 11d6efbdc..c0078d058 100644
--- a/lib/SimplePie/SimplePie/Misc.php
+++ b/lib/SimplePie/SimplePie/Misc.php
@@ -156,7 +156,7 @@ class SimplePie_Misc
public static function error($message, $level, $file, $line)
{
- if ((ini_get('error_reporting') & $level) > 0)
+ if ((error_reporting() & $level) > 0)
{
switch ($level)
{