Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Misc
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-11-08 22:24:54 +0300
committerPhie <phie@phie.ovh>2019-11-08 22:24:54 +0300
commitb95d465bc68be173476c4878b8cff831673ebda4 (patch)
treeda8e2b5ed49ed78943a97ba6e1267f506af6252a /lib/Misc
parentd016777a6a675da7f5f04a920c1a5ab8050a278e (diff)
folder note : save text and metadata + fix open zipped notes
Diffstat (limited to 'lib/Misc')
-rw-r--r--lib/Misc/CacheManager.php2
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();