diff options
author | Phie <phie@phie.ovh> | 2019-11-08 22:24:54 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-11-08 22:24:54 +0300 |
commit | b95d465bc68be173476c4878b8cff831673ebda4 (patch) | |
tree | da8e2b5ed49ed78943a97ba6e1267f506af6252a /lib/Misc | |
parent | d016777a6a675da7f5f04a920c1a5ab8050a278e (diff) |
folder note : save text and metadata + fix open zipped notes
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(); |