From: Florent Bruneau Date: Thu, 7 Oct 2010 12:11:26 +0000 (+0200) Subject: Add explanation. X-Git-Tag: xorg/1.0.1~80 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=981fce7bcfafd9b1b33a51ec39388ff0f87e0bcf;p=platal.git Add explanation. Signed-off-by: Florent Bruneau --- 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;