From 8e6860ac72d533d6984defc2daac2871599e2e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 5 Sep 2013 17:00:54 +0200 Subject: [PATCH] Fixed developer intent --- htdocs/holiday/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/holiday/fiche.php b/htdocs/holiday/fiche.php index 48d5f591edd..a65df53706d 100644 --- a/htdocs/holiday/fiche.php +++ b/htdocs/holiday/fiche.php @@ -638,7 +638,7 @@ if (empty($id) || $action == 'add' || $action == 'request') case 'nodatedebut' : $errors[] = $langs->trans('NoDateDebut'); break; - case 'nodatedebut' : + case 'nodatefin' : $errors[] = $langs->trans('NoDateFin'); break; case 'DureeHoliday' : @@ -808,7 +808,7 @@ else case 'nodatedebut' : $errors[] = $langs->transnoentitiesnoconv('NoDateDebut'); break; - case 'nodatedebut' : + case 'nodatefin' : $errors[] = $langs->transnoentitiesnoconv('NoDateFin'); break; case 'DureeHoliday' :