Skip to content
Snippets Groups Projects
Commit 86ae3bd1 authored by Robin Appelman's avatar Robin Appelman
Browse files

Merge pull request #10303 from owncloud/sharing-breadcrumb-folder-name

use OC_Util::basename
parents b83d00f8 1462fba3
Branches
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ if (isset($path)) {
}
}
$basePath = $path;
$rootName = basename($path);
$rootName = \OC_Util::basename($path);
if (isset($_GET['path']) && \OC\Files\Filesystem::isReadable($basePath . $_GET['path'])) {
$getPath = \OC\Files\Filesystem::normalizePath($_GET['path']);
$path .= $getPath;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment