mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #10303 from owncloud/sharing-breadcrumb-folder-name
use OC_Util::basename
This commit is contained in:
commit
86ae3bd1e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue