Skip to content

Commit a4b5062

Browse files
Revert 'Fixed Warning: A non-numeric value encountered' from #35. Fixes #38
1 parent 70ab786 commit a4b5062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function save($data, $id, $tags = array(), $specificLifetime = false)
197197
$metadatas = array(
198198
'hash' => $hash,
199199
'mtime' => time(),
200-
'expire' => $this->_expireTime((int)$this->getLifetime($specificLifetime)),
200+
'expire' => $this->_expireTime($this->getLifetime($specificLifetime)),
201201
'tags' => implode(',', $tags),
202202
);
203203
$res = $this->_filePutContents($file, serialize($metadatas)."\n".$data);

0 commit comments

Comments
 (0)