diff options
Diffstat (limited to 'lib/Misc')
-rw-r--r-- | lib/Misc/CacheManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Misc/CacheManager.php b/lib/Misc/CacheManager.php index 579bc85..ceeb17c 100644 --- a/lib/Misc/CacheManager.php +++ b/lib/Misc/CacheManager.php @@ -124,7 +124,7 @@ class CacheManager{ $stmt->execute($arrayFullPath); $fetched = $stmt->fetchAll(); foreach ($fetched as $row){ - $array[substr($row['path'], strlen($this->carnetFolder->getPath())+1)] = json_decode($row['metadata']); + $array[substr($row['path'], strlen($this->carnetFolder->getPath())+1)] = json_decode($row['metadata'], true); } $stmt->closeCursor(); |