瀏覽代碼

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 年之前
父節點
當前提交
47b5786226
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
         }
     }