Fixed invalid uid
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
5470b9521a
commit
5bac969351
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ class ViewController extends Controller {
|
|||
foreach ($favElements['folders'] as $elem) {
|
||||
|
||||
$id = substr($elem, strrpos($elem, '/') + 1, strlen($elem));
|
||||
$link = $this->urlGenerator->linkToRouteAbsolute('files.view.index', ['dir' => $elem]);
|
||||
$link = $this->urlGenerator->linkToRoute('files.view.index', ['dir' => $elem, 'view' => 'files']);
|
||||
$sortingValue = ++$currentCount;
|
||||
|
||||
$element = [
|
||||
|
|
|
@ -67,7 +67,7 @@ function NavigationListElements($item, $l, $pinned) {
|
|||
strpos($item['classes'], 'pinned') !== false ? $pinned++ : '';
|
||||
?>
|
||||
<li <?php if (isset($item['sublist'])){ ?>id="button-collapse-parent-<?php p($item['id']); ?>"<?php } ?>
|
||||
data-id="<?php p(isset($item['href']) ? $item['href'] : $item['id']) ?> "
|
||||
data-id="<?php p($item['id']) ?> "
|
||||
class="nav-<?php p($item['id']) ?> <?php p($item['classes']) ?> <?php p($pinned === 1 ? 'first-pinned' : '') ?> <?php if ($item['defaultExpandedState']) { ?> open<?php } ?>"
|
||||
<?php if (isset($item['folderPosition'])) { ?> folderposition="<?php p($item['folderPosition']); ?>" <?php } ?>>
|
||||
|
||||
|
|
Loading…
Reference in a new issue