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