diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php
index 507150d00402e3e0f917cd4af0cce882edec89ee..93845497e2b14fb44402b95d5dfe0ca223e8aa67 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;