Skip to content
Permalink
Browse files

Fix short-array usage.

  • Loading branch information...
markstory committed Apr 30, 2016
1 parent 608560b commit ab79ab9c5533cd71c2e562503c7328d5bfa2d23e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Cache/Engine/FileEngine.php
@@ -132,7 +132,7 @@ public function write($key, $data, $duration) {
}
$expires = time() + $duration;
$contents = implode([$expires, $lineBreak, $data, $lineBreak]);
$contents = implode(array($expires, $lineBreak, $data, $lineBreak));
if ($this->settings['lock']) {
$this->_File->flock(LOCK_EX);

0 comments on commit ab79ab9

Please sign in to comment.
You can’t perform that action at this time.