backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Sun, 6 Feb 2005 22:31:59 +0000 (22:31 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:04 +0000 (23:28 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-31
   fix grosjo pb

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-450

bin/cron/notifs.send.php

index b3ba084..efa5d08 100755 (executable)
@@ -48,7 +48,7 @@ EOF;
 
     foreach($u['data'] as $cid=>$d) {
         $text .= "  {$all->_cats[$cid][(count($d)==1)?'mail_sg':'mail']} :\n\n";
-        $html .= "<h1 style='font-size: 120%'>{$all->_cats[$cid][(count($d))?'mail_sg':'mail']} :</h1>\n<ul>\n";
+        $html .= "<h1 style='font-size: 120%'>{$all->_cats[$cid][(count($d)==1)?'mail_sg':'mail']} :</h1>\n<ul>\n";
 
         foreach($d as $promo=>$x) {
             require_once('../../plugins/modifier.date_format.php');