This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  c9098ac51847df3a084903d12ba2ad63b6c4ed9c (commit)
      from  b26ab21d23f1163a912893b9fe78d21fa94b07fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9098ac51847df3a084903d12ba2ad63b6c4ed9c
Author: Sylvain Beucler <[email protected]>
Date:   Fri Jun 27 16:02:57 2014 +0200

    Mailing lists: handle accents in description - also when there's a 
site-wide prepended configuration

diff --git a/src/cronjobs/mail/mailing_lists_create.php 
b/src/cronjobs/mail/mailing_lists_create.php
index dfe5dcf..dfcadc0 100755
--- a/src/cronjobs/mail/mailing_lists_create.php
+++ b/src/cronjobs/mail/mailing_lists_create.php
@@ -106,8 +106,8 @@ for ($i=0; $i<$rows; $i++) {
                        echo db_error();
                        $tmp = tempnam(forge_get_config('data_path'), "tmp");
                        $fh = fopen($tmp,'w');
-                       $listConfig = "# -*- coding: iso-8859-1 -*-\n";
-                       $listConfig .= "description = \"$description\"\n" ;
+                       fwrite($fh, "# -*- coding: iso-8859-1 -*-\n");
+                       $listConfig = "description = \"$description\"\n" ;
                        $listConfig .= "host_name = 
'".forge_get_config('lists_host')."'\n" ;
                        if (!$public) {
                                $listConfig .= "archive_private = True\n" ;
@@ -149,8 +149,8 @@ for ($i=0; $i<$rows; $i++) {
        } elseif ($status == MAIL__MAILING_LIST_IS_CREATED) {
                $tmp = tempnam(forge_get_config('data_path'), "tmp");
                $fh = fopen($tmp,'w');
-               $listConfig = "# -*- coding: iso-8859-1 -*-\n";
-               $listConfig .= "description = \"$description\"\n" ;
+               fwrite($fh, "# -*- coding: iso-8859-1 -*-\n");
+               $listConfig = "description = \"$description\"\n" ;
                $listConfig .= "host_name = 
'".forge_get_config('lists_host')."'\n";
                if (!$public) {
                        $listConfig .= "archive_private = True\n";

-----------------------------------------------------------------------

Summary of changes:
 src/cronjobs/mail/mailing_lists_create.php |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to