From e23713845fd88c931983ae9cfb6ea3ca9c5865f5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Jul 2011 08:57:21 +0000 Subject: [PATCH] Restore hidden param to enable feature for the release 3.1. I suggest to test it during on version untill making it visible by default. --- htdocs/compta/paiement.php | 58 +++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 64eaea3a7f4..68419253c60 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.110 2011/07/11 09:32:35 cdelambert Exp $ + * \version $Id: paiement.php,v 1.111 2011/07/13 08:57:21 eldy Exp $ */ require('../main.inc.php'); @@ -253,7 +253,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie if (! empty($conf->global->PAYPAL_BANK_ACCOUNT)) $accountid=$conf->global->PAYPAL_BANK_ACCOUNT; $paymentnum=$facture->ref_int; } - if ($conf->use_javascript_ajax) + if ($conf->use_javascript_ajax && !empty($conf->global->MAIN_JS_ON_PAYMENT)) { print "\n".'