Skip to content

Commit 202fe99

Browse files
committed
gppa-force-dyn-pop-on-gv-edit.php: Fixed an issue with the snippet dynamic population.
1 parent 599a6aa commit 202fe99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-populate-anything/gppa-force-dyn-pop-on-gv-edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// End customizing
1414

1515
if ( $field->formId == $form_id && in_array( $field->id, $field_ids_to_populate ) ) {
16-
$populated_field = gp_populate_anything()->populate_field( $field, $_this->form, gp_populate_anything()->get_posted_field_values( $_this->form ), $_this->entry );
16+
$populated_field = gp_populate_anything()->populate_field( $field, $_this->form, gp_populate_anything()->get_posted_field_values( $_this->form ) );
1717

1818
if ( $field->storageType === 'json' ) {
1919
$field_value = json_encode( $populated_field['field_value'] );

0 commit comments

Comments
 (0)