X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Freminder.php;h=2d68ef023f27070cac41842f624d131ec039a60c;hb=3f5cf357e7ab02c9cbf616bc8cc3a70278af62cc;hp=d35ef0cdae2174b3369001171bfd9b47d52f89de;hpb=c3c43c0ebe734e2b43b5d5fdb6010d08358bc34b;p=platal.git diff --git a/modules/reminder.php b/modules/reminder.php index d35ef0c..2d68ef0 100644 --- a/modules/reminder.php +++ b/modules/reminder.php @@ -44,10 +44,12 @@ class ReminderModule extends PLModule // displayed. $reminder->HandleAction($action); + $previous_reminder = $reminder->title(); + if (($new_reminder = Reminder::GetCandidateReminder($user))) { - $new_reminder->DisplayStandalone($page); + $new_reminder->DisplayStandalone($page, $previous_reminder); } else { - exit; + $reminder->NotifiesAction($page); } } }