Skip to content

Commit

Permalink
Merge branch '1.7'
Browse files Browse the repository at this point in the history
* 1.7:
  Fix #370: Filebrowser can mark closed folder as opened
  • Loading branch information
cmb69 committed Oct 28, 2018
2 parents da0e3b5 + 6b4ad05 commit 06cd5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/filebrowser/classes/View.php
Expand Up @@ -168,7 +168,7 @@ public function folderLink($folder, array $folders)
global $sn;

$class = 'folder';
if (substr($this->currentDirectory, 0, strlen($folder)) == $folder) {
if (substr($this->currentDirectory, 0, strlen("$folder/")) == "$folder/") {
$class = 'openFolder';
}
$temp = explode('/', $folder);
Expand Down

0 comments on commit 06cd5bd

Please sign in to comment.