diff --git a/htdocs/admin/prelevement.php b/htdocs/admin/prelevement.php index df4901c4bf3..606037cc33b 100644 --- a/htdocs/admin/prelevement.php +++ b/htdocs/admin/prelevement.php @@ -56,7 +56,7 @@ if ($_GET["action"] == "set") if ($_GET["action"] == "addnotif") { $bon = new BonPrelevement($db); - $bon->AddNotification($_POST["user"],$_POST["action"]); + $bon->AddNotification($db,$_POST["user"],$_POST["action"]); Header("Location: prelevement.php"); exit; @@ -173,21 +173,33 @@ if ($conf->global->MAIN_MODULE_NOTIFICATION) { $langs->load("mails"); print_titre($langs->trans("Notifications")); - - print '