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
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2020-10-16 23:47:41 +0300
committerPhie <phie@phie.ovh>2020-10-16 23:47:54 +0300
commit85fd6a5ca31ccd93df23ce7d73d54b6adb99f5f3 (patch)
treee7a0d8710990e4c55fa6131a055571088e4704cf
parentc4b91c736e7d360402ba44e555684aa1ca55cd5b (diff)
transmit as real array
-rwxr-xr-xlib/Controller/NoteController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php
index d7c47d3..e336dfa 100755
--- a/lib/Controller/NoteController.php
+++ b/lib/Controller/NoteController.php
@@ -588,11 +588,11 @@ public function getOpusEncoder(){
* @NoCSRFRequired
*/
public function getMetadata($paths){
- $array = array();
- $pathsAr = explode(",",$paths);
+ $array = array();
$cache = new CacheManager($this->db, $this->CarnetFolder);
$metadataFromCache = $cache->getFromCache($pathsAr);
- foreach($pathsAr as $path){
+ foreach($paths as $path){
+
if(empty($path))
continue;
try{