Overview
SHA1:d9c49567729d5f28e496d99f55b491ab43ad9e20
Date: 2018-05-22 20:08:21
User: bohwaz
Comment:Fix typo
Timelines: family | ancestors | descendants | both | trunk | stable | 0.8.4
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-05-22
22:08
[587a75cc39] Suppression de la doc, déplacement dans le wiki: Dev-Fichiers et Squelettes (user: bohwaz, tags: trunk)
20:08
[d9c4956772] Fix typo (user: bohwaz, tags: trunk, stable, 0.8.4)
14:19
[d63dec38b5] Version stable 0.8.4 (user: bohwaz, tags: trunk, stable, 0.8.4)
Changes

Modified src/include/lib/Garradin/Utils.php from [936bf5540b] to [d94c10b15e].

405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
        {
            $to = [$to];
        }

        foreach ($to as $recipient)
        {
            // Ne pas envoyer de mail à des adresses invalides
            if (!var_filter($recipient, FILTER_VALIDATE_EMAIL))
            {
                continue;
            }

            if (!self::_sendMail($recipient, $subject, $content, $headers))
            {
                throw new \RuntimeException('Impossible d\'envoyer l\'email');







|







405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
        {
            $to = [$to];
        }

        foreach ($to as $recipient)
        {
            // Ne pas envoyer de mail à des adresses invalides
            if (!filter_var($recipient, FILTER_VALIDATE_EMAIL))
            {
                continue;
            }

            if (!self::_sendMail($recipient, $subject, $content, $headers))
            {
                throw new \RuntimeException('Impossible d\'envoyer l\'email');