~ubuntu-branches/debian/squeeze/spip/squeeze

« back to all changes in this revision

Viewing changes to squelettes-dist/formulaires/inscription.php

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-09-18 15:08:53 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100918150853-2g8yh71duum53p5s
Added patch to fix int overflow
in articles' published date.
Thanks to David Prévot for reporting.
Closes: #597026 

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
                list($sujet,$msg,$from,$head) = $f($desc, $nom, $mode, $id);
103
103
                if (!$envoyer_mail($mail_complet, $sujet, $msg, $from, $head))
104
104
                        $desc = _T('form_forum_probleme_mail');
 
105
                // Notifications
 
106
                if ($notifications = charger_fonction('notifications', 'inc')) {
 
107
                        $notifications('inscription', $desc['id_auteur'],
 
108
                                array('nom' => $desc['nom'], 'email' => $desc['email'])
 
109
                        );
 
110
                }
105
111
        }
106
112
 
107
113
        return array('message_ok'=>is_string($desc) ? $desc : _T('form_forum_identifiant_mail'));