]> git.mxchange.org Git - mailer.git/blobdiff - inc/phpmailer/class.smtp.php
Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / phpmailer / class.smtp.php
index e7d4abda22fe94721ce029b0da5ae041327ac742..50779bf96740f2bc9457bab8af49a88341e05d3b 100644 (file)
@@ -73,11 +73,11 @@ class SMTP
    * @return void
    */
   function SMTP() {
-    $this->smtp_conn = 0;
+    $this->smtp_conn = '0';
     $this->error = null;
     $this->helo_rply = null;
 
-    $this->do_debug = 0;
+    $this->do_debug = '0';
   }
 
   /*************************************************************
@@ -252,7 +252,7 @@ class SMTP
     if(!empty($this->smtp_conn)) {
       # close the connection and cleanup
       fclose($this->smtp_conn);
-      $this->smtp_conn = 0;
+      $this->smtp_conn = '0';
     }
   }