diff options
author | alecpl <alec@alec.pl> | 2012-04-19 06:56:52 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-19 06:56:52 +0000 |
commit | 6a8b4c2951314441e670d89204dd3b913698b23d (patch) | |
tree | 6048896be31fb04bdba552fec9c0eb73841b2794 /program/include/rcube_shared.inc | |
parent | b4f95a9387a391054ad37c7cfc988ed66adc4b44 (diff) |
- Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 30436b7bd..b3911659e 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -164,7 +164,7 @@ function get_offset_time($offset_str, $factor=1) $unit = 's'; } - $ts = mktime(); + $ts = time(); switch ($unit) { case 'w': $amount *= 7; |