diff options
author | Andrew Dolgov <[email protected]> | 2021-02-17 21:54:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-17 21:54:43 +0300 |
commit | b888bc2091c6737846f54a729ee047e4693fd8e3 (patch) | |
tree | 786fa2242718a8ff6e3fd1b9a900faf5b026b413 | |
parent | e4609c18efceebb1e021d814f53061ada7f6489a (diff) |
cache_starred_images: don't try to use undefined array index
-rwxr-xr-x | plugins/cache_starred_images/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php index bd44a2b28..9f17c492f 100755 --- a/plugins/cache_starred_images/init.php +++ b/plugins/cache_starred_images/init.php @@ -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; |