From 842d2d6eddb907d77d14630a5b7b25608fb31b5d Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 15 Jun 2021 09:41:46 +0200 Subject: [PATCH] Fixed a php8 deprecation no required parameters after optional parameters in function. --- reporting/includes/reporting.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/includes/reporting.inc b/reporting/includes/reporting.inc index 0267687d..764eb469 100644 --- a/reporting/includes/reporting.inc +++ b/reporting/includes/reporting.inc @@ -14,7 +14,7 @@ // or display_note(print_document_link($order_no, _("Print this order"))); // You only need full parameter list for invoices/credit notes -function print_document_link($doc_no, $link_text, $link=true, $type_no, +function print_document_link($doc_no, $link_text, $link, $type_no, $icon=false, $class='printlink', $id='', $email=0, $extra=0) { global $path_to_root; -- 2.30.2