From 4d18e93617feab03d64a5e20ea2585a869b3e86a Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 23 Jun 2012 12:52:34 +0200
Subject: [PATCH] fixed wrong comparison in Mailer::dump()

---
 inc/Mailer.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php
index 507150d00..93845497e 100644
--- a/inc/Mailer.class.php
+++ b/inc/Mailer.class.php
@@ -566,7 +566,7 @@ class Mailer {
     public function dump(){
         $this->cleanHeaders();
         $body    = $this->prepareBody();
-        if($body === 'false') return false;
+        if($body === false) return false;
         $headers = $this->prepareHeaders();
 
         return $headers.MAILHEADER_EOL.$body;
-- 
GitLab