Browse Source

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 25 years ago
parent
commit
45005e6dbf
1 changed files with 2 additions and 0 deletions
  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;