fix remove error dispplaying
This commit is contained in:
parent
885d958e63
commit
f1d098adcc
@ -475,6 +475,9 @@ else
|
|||||||
// Si edition contact deja existant
|
// Si edition contact deja existant
|
||||||
$object = new Contact($db);
|
$object = new Contact($db);
|
||||||
$res=$object->fetch($id, $user);
|
$res=$object->fetch($id, $user);
|
||||||
|
if ($res<0) {
|
||||||
|
setEventMessage($this->error,'errors');
|
||||||
|
}
|
||||||
|
|
||||||
// Show tabs
|
// Show tabs
|
||||||
$head = contact_prepare_head($object);
|
$head = contact_prepare_head($object);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user