[Gnucash-changes] r13689 - meta/hooks - Don't add quotes around the author fullname.

Derek Atkins warlord at cvs.gnucash.org
Thu Mar 23 14:11:43 EST 2006


Author: warlord
Date: 2006-03-23 14:11:43 -0500 (Thu, 23 Mar 2006)
New Revision: 13689
Trac: http://svn.gnucash.org/trac/changeset/13689

Modified:
   meta/hooks/commit-email.pl
Log:
Don't add quotes around the author fullname.
Fixes UTF8 on Evolution, which doesn't like the quotes.


Modified: meta/hooks/commit-email.pl
===================================================================
--- meta/hooks/commit-email.pl	2006-03-23 16:01:17 UTC (rev 13688)
+++ meta/hooks/commit-email.pl	2006-03-23 19:11:43 UTC (rev 13689)
@@ -449,7 +449,7 @@
     my $sender = $mail_from;
     my $fullname = get_fullname($author);
     if ($fullname) {
-	$mail_from = "\"$fullname\" <$author>";
+	$mail_from = "$fullname <$author>";
     }
 
     if ($from_address =~ /\w/)
@@ -457,7 +457,7 @@
         $mail_from = $sender = $from_address;
 	$fullname = get_fullname($mail_from);
 	if ($fullname) {
-	    $mail_from = "\"$fullname\" <$from_address>";
+	    $mail_from = "$fullname <$from_address>";
 	}
       }
     elsif ($hostname =~ /\w/)
@@ -465,7 +465,7 @@
         $sender = "$mail_from\@$hostname";
 	$fullname = get_fullname($mail_from);
 	if ($fullname) {
-	    $mail_from = "\"$fullname\" <$sender>";
+	    $mail_from = "$fullname <$sender>";
 	} else {
 	    $mail_from = $sender;
 	}



More information about the gnucash-changes mailing list