diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-19 06:56:52 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-19 06:56:52 +0000 |
| commit | 2c79c401f0c4fc90ecd9fc06ae1eb5dbf8a3dca2 (patch) | |
| tree | 339546a033fafd1ad32e2400f556857e2a3326e2 /roundcubemail/program/include/rcube_shared.inc | |
| parent | 1cd0d8c483f99cad1bd4e43e6fa9e3b6ec785931 (diff) | |
- Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used
git-svn-id: https://svn.roundcube.net/trunk@6101 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_shared.inc')
| -rw-r--r-- | roundcubemail/program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index 30436b7bd..b3911659e 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/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; |
