From 90abef5ae345178f7cc4ed3008b34c3d417e2f5b Mon Sep 17 00:00:00 2001 From: Al Ganiev Date: Sun, 9 Dec 2018 13:54:49 +1000 Subject: [PATCH] replaced hash with getpath (#342) --- src/Loader/ElFinderLoader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Loader/ElFinderLoader.php b/src/Loader/ElFinderLoader.php index 8b96ca9..4464682 100644 --- a/src/Loader/ElFinderLoader.php +++ b/src/Loader/ElFinderLoader.php @@ -140,7 +140,8 @@ public function decode($hash) { $volume = $this->bridge->getVolume($hash); - return (!empty($volume)) ? $volume->decode($hash) : false; + /** @var $volume \elFinderVolumeDriver */ + return (!empty($volume)) ? $volume->getPath($hash) : false; } public function setSession($session)