mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Enabling empty array URLs in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6727 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b0568e7ace
commit
9bad5824cb
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ class Router extends Object {
|
|||
$base = $path['base'];
|
||||
$extension = $output = $mapped = $q = $frag = null;
|
||||
|
||||
if (is_array($url) && !empty($url)) {
|
||||
if (is_array($url)) {
|
||||
if (array_key_exists('base', $url) && $url['base'] === false) {
|
||||
$base = null;
|
||||
unset($url['base']);
|
||||
|
|
Loading…
Add table
Reference in a new issue