Add error management
This commit is contained in:
parent
c13477f860
commit
426d948bb3
1 changed files with 5 additions and 1 deletions
|
|
@ -751,7 +751,7 @@ else
|
|||
/*
|
||||
* Mailing en mode edition
|
||||
*/
|
||||
|
||||
|
||||
print '<form name="edit_mailing" action="fiche.php" method="post">'."\n";
|
||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
|
|
@ -799,6 +799,10 @@ else
|
|||
print "</div>";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db,$mil->error);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue