From e6318eb4f4da90eaaed1d01828c2f46486acd0fa Mon Sep 17 00:00:00 2001 From: Dorian Vabre Date: Thu, 22 Apr 2021 12:06:33 +0200 Subject: [PATCH] style --- htdocs/public/eventorganization/attendee_subscription.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/public/eventorganization/attendee_subscription.php b/htdocs/public/eventorganization/attendee_subscription.php index 6e06838de91..1a17f13c2b4 100644 --- a/htdocs/public/eventorganization/attendee_subscription.php +++ b/htdocs/public/eventorganization/attendee_subscription.php @@ -256,7 +256,6 @@ if (empty($reshook) && $action == 'add') { // Fetch using the input field by user if (!empty($societe)) { $resultfetchthirdparty = $thirdparty->fetch('', $societe); - var_dump($resultfetchthirdparty); if ($resultfetchthirdparty<=0) { // Need to create a new one $resultfetchthirdparty = 0; @@ -269,7 +268,6 @@ if (empty($reshook) && $action == 'add') { $resultfetchthirdparty = 0; } } - var_dump($resultfetchthirdparty); if ($resultfetchthirdparty<0) { $error++; $errmsg .= $thirdparty->error; @@ -314,7 +312,7 @@ if (empty($reshook) && $action == 'add') { } else { $thirdparty->country_code = getCountry($thirdparty->country_id, 2, $db, $langs); $thirdparty->country = getCountry($thirdparty->country_code, 0, $db, $langs); - $confattendee->fk_soc = $thirdparty->id; + $confattendee->fk_soc = $thirdparty->id; $confattendee->update($user); } } @@ -338,7 +336,6 @@ if (empty($reshook) && $action == 'add') { $facture->cond_reglement_id = $confattendee->cond_reglement_id; if (empty($facture->cond_reglement_id)) { - var_dump($confattendee->db); $paymenttermstatic = new PaymentTerm($confattendee->db); $facture->cond_reglement_id = $paymenttermstatic->getDefaultId(); if (empty($facture->cond_reglement_id)) {