summaryrefslogtreecommitdiffstats
path: root/Horde_Routes-php54.patch
blob: 8b28a1cb2b8447ca7e770285d087ee8e8ac95c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lib/Horde/Routes/Mapper.php~	2012-12-15 16:01:14.332176067 +0100
+++ lib/Horde/Routes/Mapper.php	2012-12-15 16:01:20.330194840 +0100
@@ -591,7 +591,7 @@
         // If the URL didn't depend on the SCRIPT_NAME, we'll cache it
         // keyed by just the $kargs; otherwise we need to cache it with
         // both SCRIPT_NAME and $kargs:
-        $cacheKey = $kargs;
+        $cacheKey = serialize($kargs);
         if (!empty($environ['SCRIPT_NAME'])) {
             $cacheKeyScriptName = sprintf('%s:%s', $environ['SCRIPT_NAME'], $cacheKey);
         } else {