Skip to content

Commit cf11df9

Browse files
committed
Deprecated error was coming in PHP 8, it is fixed now.
Fixes #179
1 parent 625d4fc commit cf11df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

woocommerce-delivery-notes/includes/wcdn-template-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function wcdn_get_order_invoice_date( $order_id ) {
340340
* @param object $product Product Object.
341341
* @param object $order Order object.
342342
*/
343-
function wcdn_additional_product_fields( $fields = null, $product = null, $order ) {
343+
function wcdn_additional_product_fields( $fields, $product, $order ) {
344344
$new_fields = array();
345345

346346
// Stock keeping unit.

0 commit comments

Comments
 (0)