Skip to content

Commit

Permalink
Ensure variable is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Dec 1, 2023
1 parent 23dbc18 commit 402e9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions galette/lib/Galette/Repository/Reminders.php
Expand Up @@ -198,6 +198,7 @@ private function loadToRemind(Db $zdb, $type, $nomail = false)
if ($r->last_reminder === null || $r->last_reminder == '') {
$date_checked = true;
} else {
$last_reminder = new \DateTime($r->last_reminder);
if ($now >= $second && $last_reminder >= $limit_date && $second > $last_reminder) {
$date_checked = true;
}
Expand Down

0 comments on commit 402e9e7

Please sign in to comment.