Skip to content

Commit

Permalink
replaced hash with getpath (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag authored Dec 9, 2018
1 parent 7b11fb1 commit 90abef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Loader/ElFinderLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90abef5

Please sign in to comment.