summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
committeralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
commit6a8b4c2951314441e670d89204dd3b913698b23d (patch)
tree6048896be31fb04bdba552fec9c0eb73841b2794 /program/include/rcube_shared.inc
parentb4f95a9387a391054ad37c7cfc988ed66adc4b44 (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.inc2
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;