bug 414, les liens du carnet RSS ou mail de notif redirigent vers les fiches privees
[platal.git] / bin / cron / notifs.send.php
index efa5d08..891700f 100755 (executable)
@@ -54,8 +54,8 @@ EOF;
             require_once('../../plugins/modifier.date_format.php');
             $date  = smarty_modifier_date_format($x['date'], '%d %b %Y');
             $text .= "    - (X{$x['promo']}) {$x['prenom']} {$x['nom']} le $date\n";
-            $text .= "      {$globals->baseurl}/fiche.php?user={$x['bestalias']}\n\n";
-            $html .= "<li>(X{$x['promo']}) <a href='{$globals->baseurl}/fiche.php?user={$x['bestalias']}'>{$x['prenom']} {$x['nom']}</a> le $date</li>\n";
+            $text .= "      {$globals->baseurl}/fiche.php?user={$x['bestalias']}&force_login=1\n\n";
+            $html .= "<li>(X{$x['promo']}) <a href='{$globals->baseurl}/fiche.php?user={$x['bestalias']}&force_login=1'>{$x['prenom']} {$x['nom']}</a> le $date</li>\n";
         }
         $text .= "\n";
         $html .= "</ul>\n";