Commit ccd374e5 authored by Tino Goratsch's avatar Tino Goratsch

fixed an edge case when trying to retrieve an URI alias

parent 6e0ba408
......@@ -57,7 +57,9 @@ class Aliases
$path .= (!\preg_match('/\/$/', $path) ? '/' : '');
return $this->aliasesCache[$path]['alias'] ?? ($emptyOnNoResult === true ? '' : $path);
return !empty($this->aliasesCache[$path]['alias'])
? $this->aliasesCache[$path]['alias']
: ($emptyOnNoResult === true ? '' : $path);
}
/**
......
......@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Changed
- removed the old assets of fontawesome 4.7
### Fixed
- fixed an edge case when trying to retrieve an URI alias
## [4.26.1] - 2018-03-19
### Added
- added the solid icons of fontawesome 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment