summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.php b/check.php
index eaba28dd0..685ee40ea 100644
--- a/check.php
+++ b/check.php
@@ -105,7 +105,7 @@ if ($db_working === true) {
$DB = new rcube_mdb2($rcmail_config['db_dsnw'], '', false);
$DB->db_connect('w');
- $tz_db = $DB->unixtimestamp();
+ $tz_db = $DB->unixtimestamp($DB->now());
$tz_local = time();
if ($tz_db != $tz_local) {
echo 'NOT OK';