Skip to content

Commit

Permalink
🎨 Call Field::get_output() non-statically
Browse files Browse the repository at this point in the history
  • Loading branch information
MatzeKitt committed Dec 16, 2024
1 parent b8ade78 commit d09da6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form-data/class-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public function send( array $fields, array $files ): void {

$form_data = $this->get( $this->form_id );
$field_output = [
\trim( Field::get_output( $form_data['fields'], $fields ) ),
\trim( Field::get_instance()->get_output( $form_data['fields'], $fields ) ),
];

$attachments = [];
Expand Down

0 comments on commit d09da6d

Please sign in to comment.