]> git.agnieray.net Git - galette.git/commitdiff
Fix mail reminders
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 25 Apr 2021 07:02:05 +0000 (09:02 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 25 Apr 2021 07:02:05 +0000 (09:02 +0200)
galette/lib/Galette/Entity/Reminder.php
galette/lib/Galette/Entity/Texts.php

index 65aa9bd112495f9229d9755d661d2d6ab3775439..014ef5aa6f9f99f84a6dd0c04ce426c7da75026c 100644 (file)
@@ -7,7 +7,7 @@
  *
  * PHP version 5
  *
- * Copyright © 2013-2020 The Galette Team
+ * Copyright © 2013-2021 The Galette Team
  *
  * This file is part of Galette (http://galette.tuxfamily.org).
  *
@@ -28,7 +28,7 @@
  * @package   Galette
  *
  * @author    Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2013-2020 The Galette Team
+ * @copyright 2013-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     Available since 0.7.5dev - 2013-02-11
@@ -50,7 +50,7 @@ use Galette\Core\History;
  * @name      Reminder
  * @package   Galette
  * @author    Johan Cwiklinski <johan@x-tnd.be>
- * @copyright 2009-2020 The Galette Team
+ * @copyright 2009-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     Available since 0.7.5dev - 2013-02-11
@@ -238,7 +238,8 @@ class Reminder
         }
 
         if ($this->hasMail()) {
-            $texts->setMember($this->dest);
+            $texts->setMember($this->dest)
+                ->setNoContribution();
 
             $texts->getTexts(
                 $type_name . 'duedate',
index 6dff596a9fd452778e0396b481b1bb50d49adbb7..77583bfedafcd78d0307c8247d8eba8917bbd3a0 100644 (file)
@@ -7,7 +7,7 @@
  *
  * PHP version 5
  *
- * Copyright © 2007-2020 The Galette Team
+ * Copyright © 2007-2021 The Galette Team
  *
  * This file is part of Galette (http://galette.tuxfamily.org).
  *
@@ -29,7 +29,7 @@
  *
  * @author    John Perr <johnperr@abul.org>
  * @author    Johan Cwiklinski <joahn@x-tnd.be>
- * @copyright 2007-2020 The Galette Team
+ * @copyright 2007-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     Avaialble since 0.7dev - 2007-07-16
@@ -53,7 +53,7 @@ use Slim\Router;
  * @package   Galette
  * @author    John Perr <johnperr@abul.org>
  * @author    Johan Cwiklinski <joahn@x-tnd.be>
- * @copyright 2007-2020 The Galette Team
+ * @copyright 2007-2021 The Galette Team
  * @license   http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
  * @link      http://galette.tuxfamily.org
  * @since     Avaialble since 0.7dev - 2007-07-16