Skip to content

Commit 9cc3496

Browse files
committed
gppa-gpeb-force-rehydration-on-edit.php: Fixed issue with rehydration not working on GPEB entry.
1 parent 5c55a26 commit 9cc3496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-populate-anything/gppa-gpeb-force-rehydration-on-edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$form = GFAPI::get_form( $form_id );
2424
foreach ( $form['fields'] as &$field ) {
2525
if ( in_array( $field->id, $field_ids ) ) {
26-
$hydrated_field = gp_populate_anything()->populate_field( $field, $form, array(), gp_populate_anything()->get_posted_field_values( $form ) );
26+
$hydrated_field = gp_populate_anything()->populate_field( $field, $form, gp_populate_anything()->get_posted_field_values( $form ), array() );
2727
$entry[ $field->id ] = $hydrated_field['field_value'];
2828
}
2929
}

0 commit comments

Comments
 (0)