Make sure to not unpack an associative array into parameter list
[lhc/web/wiklou.git] / includes / cache / CacheHelper.php
index 9db8166..6c6b184 100644 (file)
@@ -350,7 +350,7 @@ class CacheHelper implements ICacheHelper {
                        throw new MWException( 'No cache key set, so cannot obtain or save the CacheHelper values.' );
                }
 
-               return wfMemcKey( ...$this->cacheKey );
+               return wfMemcKey( ...array_values( $this->cacheKey ) );
        }
 
        /**