From 4f27ee4018993e1a3030cb5c8877581159fa3808 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 3 Oct 2016 12:40:04 +0200 Subject: [PATCH] Add log --- htdocs/holiday/card.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php index 4c6aeb99110..016984c5382 100644 --- a/htdocs/holiday/card.php +++ b/htdocs/holiday/card.php @@ -326,6 +326,7 @@ if ($action == 'confirm_send') if (!$emailTo) { + dol_syslog("Expected validator has no email, so we redirect directly to finished page without sending email"); header('Location: '.$_SERVER["PHP_SELF"].'?id='.$cp->id); exit; } @@ -438,6 +439,7 @@ if ($action == 'confirm_valid') if (!$emailTo) { + dol_syslog("User that request leave has no email, so we redirect directly to finished page without sending email"); header('Location: '.$_SERVER["PHP_SELF"].'?id='.$cp->id); exit; }