CodeIgniter
CodeIgniter copied to clipboard
fix incorrect variable name and missing TTL in Cache_redis
trafficstars
There is a little bug, which causes warning. Entire method uses $data variable, but in conditional check, there is $value. Leftover from recent updates.
I have also added setting expire time for cached items inside save method. TTL wasn't handled at all.
Would be great to get this merged!
:+1: