Fixing style errors.
This commit is contained in:
parent
e9b35cf36b
commit
7f9f67e7ef
@ -379,7 +379,6 @@ if (empty($reshook) && $action == 'add') {
|
|||||||
if (!empty($conf->global->PAYMENT_SECURITY_TOKEN)) {
|
if (!empty($conf->global->PAYMENT_SECURITY_TOKEN)) {
|
||||||
if (!empty($conf->global->PAYMENT_SECURITY_TOKEN_UNIQUE)) {
|
if (!empty($conf->global->PAYMENT_SECURITY_TOKEN_UNIQUE)) {
|
||||||
$redirection .= '&securekey='.dol_hash($conf->global->PAYMENT_SECURITY_TOKEN . $sourcetouse . $reftouse, 2); // Use the source in the hash to avoid duplicates if the references are identical
|
$redirection .= '&securekey='.dol_hash($conf->global->PAYMENT_SECURITY_TOKEN . $sourcetouse . $reftouse, 2); // Use the source in the hash to avoid duplicates if the references are identical
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$redirection .= '&securekey='.$conf->global->PAYMENT_SECURITY_TOKEN;
|
$redirection .= '&securekey='.$conf->global->PAYMENT_SECURITY_TOKEN;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -120,7 +120,6 @@ if ($source == 'conferencesubscription') {
|
|||||||
if ($resultinvoice <= 0) {
|
if ($resultinvoice <= 0) {
|
||||||
setEventMessages(null, $invoice->errors, "errors");
|
setEventMessages(null, $invoice->errors, "errors");
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$invoice->fetchObjectLinked();
|
$invoice->fetchObjectLinked();
|
||||||
$linkedAttendees = $invoice->linkedObjectsIds['conferenceorboothattendee'];
|
$linkedAttendees = $invoice->linkedObjectsIds['conferenceorboothattendee'];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user