diff --git a/htdocs/compta/ajaxpayment.php b/htdocs/compta/ajaxpayment.php index fa09707e543..9b23a1bd67a 100644 --- a/htdocs/compta/ajaxpayment.php +++ b/htdocs/compta/ajaxpayment.php @@ -22,8 +22,8 @@ * \version ajaxpayment.php,v 1.0 */ -if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); -if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); +//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); +//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); //if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK','1'); diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 997745b1754..64eaea3a7f4 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -24,7 +24,7 @@ * \file htdocs/compta/paiement.php * \ingroup compta * \brief Page to create a payment - * \version $Id: paiement.php,v 1.109 2011/07/04 16:39:48 cdelambert Exp $ + * \version $Id: paiement.php,v 1.110 2011/07/11 09:32:35 cdelambert Exp $ */ require('../main.inc.php'); @@ -272,14 +272,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie jQuery(\'.fieldrequireddyn\').removeClass(\'fieldrequired\'); } }); - }); - '."\n"; - } - - if (! empty($conf->global->MAIN_JS_ON_PAYMENT)) - { - print "\n".''."\n"; } - print '