]> granicus.if.org Git - php/commitdiff
- Fix for bug 8909 and 12680 (timezone problem)
authorDerick Rethans <derick@php.net>
Fri, 30 Nov 2001 09:29:15 +0000 (09:29 +0000)
committerDerick Rethans <derick@php.net>
Fri, 30 Nov 2001 09:29:15 +0000 (09:29 +0000)
win32/sendmail.c

index 0e3ddb34e8c3980ae620afa22e6dd71c185bbfc2..22127faf7f8431fab53d54a24ef33252a881d875 100644 (file)
@@ -356,7 +356,7 @@ int PostHeader(char *RPath, char *Subject, char *mailTo, char *xheaders)
                                         tm->tm_hour,
                                         tm->tm_min,
                                         tm->tm_sec,
-                                        (_timezone > 0) ? "+" : (_timezone < 0) ? "-" : "",
+                                        (_timezone <= 0) ? "+" : (_timezone > 0) ? "-" : "",
                                         zoneh,
                                         zonem);
        }