From a2553c138bdb5244613e29b0803fc8748d810d16 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 15 Jan 2004 08:55:48 +0000 Subject: [PATCH] And a similar fix for getntpoffset() --- phpgwapi/inc/class.datetime.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.datetime.inc.php b/phpgwapi/inc/class.datetime.inc.php index 6555c67290..cd00123475 100755 --- a/phpgwapi/inc/class.datetime.inc.php +++ b/phpgwapi/inc/class.datetime.inc.php @@ -116,7 +116,7 @@ } else { - return (int)($server_time - $this->gmtnow / 3600); + return (int)(($server_time - $this->gmtnow) / 3600); } }