mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
Minor, make side nav filter view get trailing slashes correct regardless of input.
This commit is contained in:
parent
ce2c0543bf
commit
141b3d2b8f
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ final class AphrontSideNavFilterView extends AphrontView {
|
|||
|
||||
if (empty($item['uri'])) {
|
||||
$href = clone $this->baseURI;
|
||||
$href->setPath($href->getPath().$key.'/');
|
||||
$href->setPath(rtrim($href->getPath().$key, '/').'/');
|
||||
$href = (string)$href;
|
||||
} else {
|
||||
if (empty($item['relative'])) {
|
||||
|
|
Loading…
Reference in a new issue