From 9bad5824cb352c95cefe068c1045615867c0134f Mon Sep 17 00:00:00 2001 From: nate Date: Sat, 26 Apr 2008 14:41:42 +0000 Subject: [PATCH] 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 --- cake/libs/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index b49bdeec6..45b203515 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -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']);