git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22471 44c647ce-9c0f-0410-b52a-842ac1e357ba
@@ -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;
}