Overview
Comment: | Fix when some result is NULL |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
10651446d513ceb31ee6ecf3f24fa0eb |
User & Date: | bohwaz on 2022-06-03 21:32:33 |
Other Links: | manifest | tags |
Context
2022-06-04
| ||
01:15 | Always overwrite content when using a template, even if the mail is in HTML, as we need to provide a text/plain alternative check-in: d4e42bf765 user: bohwaz tags: trunk, stable, 1.1.25 | |
2022-06-03
| ||
21:32 | Fix when some result is NULL check-in: 10651446d5 user: bohwaz tags: trunk, stable | |
18:11 | Fix missing Mail_Message dependency in package check-in: 4eaa1dba54 user: bohwaz tags: trunk, stable, 1.1.25 | |
Changes
Modified src/www/admin/membres/message_collectif.php from [e8bbbf3b36] to [da2d8efeb0].
︙ | ︙ | |||
36 37 38 39 40 41 42 | elseif ($target[0] == 'category') { $recipients = $membres->listAllByCategory($target[1], true); } elseif ($target[0] == 'search') { $recipients = $recherche->search($target[1], ['membres.*'], true); } | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | elseif ($target[0] == 'category') { $recipients = $membres->listAllByCategory($target[1], true); } elseif ($target[0] == 'search') { $recipients = $recherche->search($target[1], ['membres.*'], true); } if (empty($recipients)) { throw new UserException('La liste de destinataires sélectionnée ne comporte aucun membre, ou aucun avec une adresse e-mail renseignée.'); } $mailing = Emails::createMailing($recipients, f('subject'), f('message'), (bool) f('send_copy'), f('render') ?: null); }, $csrf_key); $form->runIf('send', function () use ($membres, $mailing) { |
︙ | ︙ |