From b0d1b51e5e434c552b3f123aa1fddbd7d170146d Mon Sep 17 00:00:00 2001 From: gpadgham Date: Wed, 1 Nov 2000 22:24:22 +0000 Subject: [PATCH] fixed a function where a variable needed to be global in order to be used corrently (this was in the timezone offset fix for unix) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@832 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/smtp.php b/functions/smtp.php index 334edd95..ad7a257a 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -97,6 +97,8 @@ /* Time offset for correct timezone */ function timezone () { + global $invert_time; + $diff_second = date("Z"); if ($invert_time) $diff_second = - $diff_second; -- 2.25.1