// Small fix

This commit is contained in:
rGaillard
2011-12-22 23:36:31 +00:00
parent 0777381d68
commit 81c8fb8669
+2 -1
View File
@@ -512,7 +512,8 @@ class DispatcherCore
}
}
$url = preg_replace('#\{([^{}]+:)?[a-z0-9_]+?(:[^{}])?\}#', '', $url);
$url .= '?'.http_build_query($add_param);
if (count($add_param))
$url .= '?'.http_build_query($add_param);
}
// Build a classic url index.php?controller=foo&...
else