소스 검색

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 년 전
부모
커밋
45005e6dbf
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;