mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 12:07:10 +00:00
initial WIP for php8; bump php version requirement to 7.0
This commit is contained in:
@@ -687,7 +687,7 @@ class Article extends Handler_Protected {
|
||||
if ($label_cache) {
|
||||
$tmp = json_decode($label_cache, true);
|
||||
|
||||
if (!$tmp || $tmp["no-labels"] == 1)
|
||||
if (empty($tmp) || ($tmp["no-labels"] ?? 0) == 1)
|
||||
return $rv;
|
||||
else
|
||||
return $tmp;
|
||||
|
||||
Reference in New Issue
Block a user