Explorar o código

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)

gpadgham %!s(int64=25) %!d(string=hai) anos
pai
achega
45005e6dbf
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      functions/smtp.php

+ 2 - 0
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;