From 5639b158e77479dd4e47548bdd0e0bdddd53e76a Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 8 Oct 2016 15:34:17 +0200 Subject: [PATCH] [FileCache] Change parameters to lower-case This prevents creating multiple cache files for the same request. --- caches/FileCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caches/FileCache.php b/caches/FileCache.php index 2ece7e2d..3691fe51 100644 --- a/caches/FileCache.php +++ b/caches/FileCache.php @@ -55,7 +55,7 @@ class FileCache implements CacheInterface { * @return self */ public function setParameters(array $param){ - $this->param = $param; + $this->param = array_map('strtolower', $param); return $this; }