Skip to content

Commit

Permalink
Merge pull request #3 from NexwayGroup/fix-clear-cache-notice
Browse files Browse the repository at this point in the history
fix undefined index: clear_cache
  • Loading branch information
maegnes committed Dec 3, 2015
2 parents 272aa4f + fcd82ed commit 5a3d879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlimCachingManager/ResourceHandler/Textfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function getObject($res = Array())
$obj->setETag($res['etag']);
$obj->setResource($res['resource']);
$obj->setLifeTime($res['lifetime']);
$obj->setExpiryDate($res['clear_cache']);
$obj->setExpiryDate($res['expiry_date']);
$obj->setLastModified($res['last_modified']);
return $obj;
}
Expand Down

0 comments on commit 5a3d879

Please sign in to comment.