From 981fce7bcfafd9b1b33a51ec39388ff0f87e0bcf Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Thu, 7 Oct 2010 14:11:26 +0200 Subject: [PATCH] Add explanation. Signed-off-by: Florent Bruneau --- modules/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin.php b/modules/admin.php index b16b1f7..afe3aa3 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -748,7 +748,7 @@ class AdminModule extends PLModule FROM profiles WHERE hrpid = {?}', $hrid); if (is_null($hrid) || $res1->fetchOneCell() > 0 || $res2->fetchOneCell() > 0) { - $page->trigError("La ligne $infosLine n'a pas été ajoutée."); + $page->trigError("La ligne $infosLine n'a pas été ajoutée: une entrée similaire existe déjà"); return false; } $infos['hrid'] = $hrid; -- 2.1.4