diff --git a/htdocs/admin/dons.php b/htdocs/admin/dons.php index de480e682e1..b4d77a12e05 100644 --- a/htdocs/admin/dons.php +++ b/htdocs/admin/dons.php @@ -41,7 +41,7 @@ $dons_addon_var = DON_ADDON; $typeconst=array('yesno','texte','chaine'); -if ($_GET["action"] == 'set') +if ($_GET["action"] == 'setmodelbon') { if (dolibarr_set_const($db, "DON_ADDON",$_GET["value"])) $don_addon_var = $_GET["value"]; @@ -101,7 +101,7 @@ while (($file = readdir($handle))!==false) { print ' '; print '