X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FCache%2FArrayCache.php;h=c6f3983ee2586efed12aeed3a8db4d516ccef3f7;hb=cbe435bb708ccf17a4b5bea1e20c3258c9524700;hp=5add98cc2a8e69ef6929d52ce77d378ddaa91d39;hpb=3834d5e1295bb77d7f3adddc81efff4bca799182;p=friendica.git diff --git a/src/Core/Cache/ArrayCache.php b/src/Core/Cache/ArrayCache.php index 5add98cc2a..c6f3983ee2 100644 --- a/src/Core/Cache/ArrayCache.php +++ b/src/Core/Cache/ArrayCache.php @@ -21,7 +21,7 @@ class ArrayCache extends Cache implements IMemoryCache */ public function getAllKeys($prefix = null) { - return $this->filterArrayKeysByPrefix($this->cachedData, $prefix); + return $this->filterArrayKeysByPrefix(array_keys($this->cachedData), $prefix); } /**