Skip to content

Commit dae8d56

Browse files
committed
PHP 7.4 incompatibility fix: Passing the glue and pieces parameters in reverse order to implode has been deprecated since PHP 7.4
1 parent eb2d229 commit dae8d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/view/sfViewCacheManager.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ protected function getCacheKeyVaryHeaderPart($internalUri, $vary = '')
236236
{
237237
$varys[] = $header . '-' . preg_replace('/\W+/', '_', $request->getHttpHeader($header));
238238
}
239-
$vary = implode($varys, '-');
239+
$vary = implode('-', $varys);
240240
}
241241

242242
return $vary;

0 commit comments

Comments
 (0)