diff options
author | fox <[email protected]> | 2021-03-06 22:42:26 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-03-06 22:42:26 +0300 |
commit | cb81b784e810e09790214173d49e66b9be1f68d1 (patch) | |
tree | 43b042e0f876c4278aee0b3bac60eff8087d5936 /classes | |
parent | 1d9fa2a42e2cad9ea76ad22edf8919942c853be1 (diff) | |
parent | 825e362f0efce6c2e6a9b347b70fd97ef09e59f1 (diff) |
Merge pull request 'Fix "array offset on value of type null" for $error and $old_error' (#16) from ltGuillaume/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/16
Diffstat (limited to 'classes')
-rw-r--r-- | classes/urlhelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/urlhelper.php b/classes/urlhelper.php index 389298078..55d5d1e6a 100644 --- a/classes/urlhelper.php +++ b/classes/urlhelper.php @@ -461,7 +461,7 @@ class UrlHelper { if (self::$fetch_last_error_code != 200) { $error = error_get_last(); - if ($error['message'] != $old_error['message']) { + if (($error['message'] ?? '') != ($old_error['message'] ?? '')) { self::$fetch_last_error .= "; " . $error["message"]; } |