Standardize

This commit is contained in:
Philippe GRAND 2018-08-06 11:53:33 +02:00
parent 4e3898d357
commit 094fc6b699
6 changed files with 8 additions and 5 deletions

View File

@ -147,6 +147,7 @@ if (! empty($source) && in_array($ref, array('member_ref', 'contractline_ref', '
{
$langs->load("errors");
dol_print_error_email('BADREFINONLINESIGNFORM', $langs->trans("ErrorBadLinkSourceSetButBadValueForRef", $source, $ref));
// End of page
llxFooter();
$db->close();
exit;

View File

@ -617,8 +617,9 @@ if ($source && in_array($ref, array('member_ref', 'contractline_ref', 'invoice_r
{
$langs->load("errors");
dol_print_error_email('BADREFINPAYMENTFORM', $langs->trans("ErrorBadLinkSourceSetButBadValueForRef", $source, $ref));
llxFooter();
$db->close();
// End of page
llxFooter();
$db->close();;
exit;
}

View File

@ -162,6 +162,6 @@ if ($id > 0 || ! empty($ref))
include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php';
}
// End of page
llxFooter();
$db->close();

View File

@ -142,7 +142,6 @@ else
print $langs->trans("ErrorUnknown");
}
// End of page
llxFooter();
$db->close();

View File

@ -289,5 +289,6 @@ else
print '</table>';
print "</form>\n";
// End of page
llxFooter();
$db->close();

View File

@ -100,5 +100,6 @@ if ($id > 0 || ! empty($ref))
dol_fiche_end();
}
// End of page
llxFooter();
$db->close();