From ab05c7a7f7a52f02921fd4166a843436b0a25765 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 8 Mar 2021 18:33:53 +0100 Subject: [PATCH] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'modu?= =?UTF-8?q?le/download'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/download/download.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/download/download.php b/module/download/download.php index bcebbf77..66011dd5 100644 --- a/module/download/download.php +++ b/module/download/download.php @@ -920,12 +920,12 @@ class download extends common { } foreach ($itemIds as $key) { self::$items[$key] = [ - $this->getData(['module', $this->getUrl(0), 'items', $key, 'title']), - $this->getData(['module', $this->getUrl(0), 'items', $key, 'content']), - $this->getData(['module', $this->getUrl(0), 'items', $key, 'picture']), - $this->getData(['module', $this->getUrl(0), 'items', $key, 'file']), - $this->getData(['module', $this->getUrl(0), 'items', $key, 'fileVersion']), - $this->getData(['module', $this->getUrl(0), 'items', $key, 'fileDate']) + 'title' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'title']), + 'content' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'content']), + 'picture' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'picture']), + 'file' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'file']), + 'fileVersion' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'fileVersion']), + 'filetdate' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'fileDate']) ]; } $this->addOutput([