1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:45:56 +00:00

cache_starred_images: don't try to use undefined array index

This commit is contained in:
Andrew Dolgov
2021-02-17 21:54:43 +03:00
parent e4609c18ef
commit b888bc2091

View File

@@ -164,7 +164,7 @@ class Cache_Starred_Images extends Plugin {
if ($this->cache->exists($status_filename)) if ($this->cache->exists($status_filename))
$status = json_decode($this->cache->get($status_filename), true); $status = json_decode($this->cache->get($status_filename), true);
else else
$status = []; $status = ["attempt" => 0];
$status["attempt"] += 1; $status["attempt"] += 1;