Przeglądaj źródła

Zend_Mail Performance optimization (related to ZF-9483)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22471 44c647ce-9c0f-0410-b52a-842ac1e357ba
freak 15 lat temu
rodzic
commit
47b5786226
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      library/Zend/Mail.php

+ 1 - 1
library/Zend/Mail.php

@@ -213,7 +213,7 @@ class Zend_Mail extends Zend_Mime_Message
      */
     public function __construct($charset = null)
     {
-        if (!is_null($charset)) {
+        if ($charset != null) {
             $this->_charset = $charset;
         }
     }