summaryrefslogtreecommitdiffstats
path: root/lib/private/route/cachingrouter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/route/cachingrouter.php')
-rw-r--r--lib/private/route/cachingrouter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/route/cachingrouter.php b/lib/private/route/cachingrouter.php
index 6412ceb0418..7a21c523435 100644
--- a/lib/private/route/cachingrouter.php
+++ b/lib/private/route/cachingrouter.php
@@ -31,7 +31,7 @@ class CachingRouter extends Router {
* @return string
*/
public function generate($name, $parameters = array(), $absolute = false) {
- sort($parameters);
+ asort($parameters);
$key = $this->context->getHost() . '#' . $this->context->getBaseUrl() . $name . json_encode($parameters) . intval($absolute);
if ($this->cache->hasKey($key)) {
return $this->cache->get($key);