Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoPavlinic98 committed Nov 6, 2024
1 parent 87c668c commit 99ea730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/setup-wizard/attach-to.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'options' => $wc_emails,
'multiple' => true,
'enhanced_select' => true,
'default' => isset( $current_settings['attach_to_email_ids'] ) ? array_keys( array_filter( $current_settings['attach_to_email_ids'], function( $value ) { return $value == 1; } ) ) : array(),
'default' => isset( $current_settings['attach_to_email_ids'] ) ? array_keys( array_filter( $current_settings['attach_to_email_ids'], function( $value ) { return $value === '1'; } ) ) : array(),
);

WPO_WCPDF()->settings->callbacks->select( $attach_to_setting );
Expand Down

0 comments on commit 99ea730

Please sign in to comment.