cache_starred_images: don't try to use undefined array index
This commit is contained in:
parent
e4609c18ef
commit
b888bc2091
|
@ -164,7 +164,7 @@ class Cache_Starred_Images extends Plugin {
|
|||
if ($this->cache->exists($status_filename))
|
||||
$status = json_decode($this->cache->get($status_filename), true);
|
||||
else
|
||||
$status = [];
|
||||
$status = ["attempt" => 0];
|
||||
|
||||
$status["attempt"] += 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue