Skip to content

Commit

Permalink
Update OrderDocument.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmigf committed Jan 15, 2025
1 parent bed7614 commit c903b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Documents/OrderDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ public function regenerate( $order = null, $data = null ) {
}

// ubl
if ( $document->is_enabled( 'ubl' ) && wcpdf_is_ubl_available() ) {
if ( $this->is_enabled( 'ubl' ) && wcpdf_is_ubl_available() ) {
wpo_ips_ubl_save_order_taxes( $order );
}

Expand Down

0 comments on commit c903b9d

Please sign in to comment.