[Jifty-commit] r5523 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Mon Jun 23 12:35:08 EDT 2008


Author: trs
Date: Mon Jun 23 12:35:04 2008
New Revision: 5523

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Notification.pm

Log:
 r36415 at zot:  tom | 2008-06-23 12:24:44 -0400
 Check html_body for defined-ness, not truth


Modified: jifty/trunk/lib/Jifty/Notification.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Notification.pm	(original)
+++ jifty/trunk/lib/Jifty/Notification.pm	Mon Jun 23 12:35:04 2008
@@ -102,7 +102,7 @@
 
     my %attrs = ( charset => 'UTF-8' );
 
-    if ($self->html_body) {
+    if (defined $self->html_body) {
       $message = Email::MIME->create_html(
 					     header => [
 							From    => ($self->from    || _('%1 <%2>' , $appname, Jifty->config->framework('AdminEmail'))) ,


More information about the Jifty-commit mailing list