diff --git a/htdocs/public/onlinesign/newonlinesign.php b/htdocs/public/onlinesign/newonlinesign.php index 6c9b4b154bf..7571f466c46 100644 --- a/htdocs/public/onlinesign/newonlinesign.php +++ b/htdocs/public/onlinesign/newonlinesign.php @@ -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; diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index a189781c8c1..91a62ea347c 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -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; } diff --git a/htdocs/resource/contact.php b/htdocs/resource/contact.php index e350c746c12..a90d68ff94c 100644 --- a/htdocs/resource/contact.php +++ b/htdocs/resource/contact.php @@ -162,6 +162,6 @@ if ($id > 0 || ! empty($ref)) include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php'; } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/resource/document.php b/htdocs/resource/document.php index eaee074189b..6a32ba9f645 100644 --- a/htdocs/resource/document.php +++ b/htdocs/resource/document.php @@ -142,7 +142,6 @@ else print $langs->trans("ErrorUnknown"); } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/resource/list.php b/htdocs/resource/list.php index 8ef3168ee96..7ca7ed21295 100644 --- a/htdocs/resource/list.php +++ b/htdocs/resource/list.php @@ -289,5 +289,6 @@ else print ''; print "\n"; +// End of page llxFooter(); $db->close(); diff --git a/htdocs/resource/note.php b/htdocs/resource/note.php index 9116cdd0387..f811d0e07ed 100644 --- a/htdocs/resource/note.php +++ b/htdocs/resource/note.php @@ -100,5 +100,6 @@ if ($id > 0 || ! empty($ref)) dol_fiche_end(); } +// End of page llxFooter(); $db->close();