Revision: 1504
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1504&view=rev
Author:   cimorrison
Date:     2010-10-15 16:09:25 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
Fixed problem with internationalisation of email notifications

Modified Paths:
--------------
    mrbs/trunk/web/functions_mail.inc

Modified: mrbs/trunk/web/functions_mail.inc
===================================================================
--- mrbs/trunk/web/functions_mail.inc   2010-10-15 10:21:44 UTC (rev 1503)
+++ mrbs/trunk/web/functions_mail.inc   2010-10-15 16:09:25 UTC (rev 1504)
@@ -548,8 +548,8 @@
         
     // Created by
     $body .= "\n" . get_mail_vocab("createdby") . ": " .
-      compareEntries($create_by,
-                     $mail_previous['createdby'],
+      compareEntries(convertToMailCharset($create_by),
+                     convertToMailCharset($mail_previous['createdby']),
                      $new_entry) . "\n";
                      
     // Custom fields
@@ -571,7 +571,9 @@
           }
         }
         $body .= get_mail_field_name($tbl_entry, $key) . ": ";
-        $body .= compareEntries($value, $mail_previous[$key], $new_entry) . 
"\n";
+        $body .= compareEntries(convertToMailCharset($value), 
+                                convertToMailCharset($mail_previous[$key]),
+                                $new_entry) . "\n";
       }
     }
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to