Skip to content

Commit

Permalink
fix: undefined $form in loadKeys()
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Apr 6, 2024
1 parent 381c4a8 commit b18036e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Loader/FormsLoader.php
Expand Up @@ -46,7 +46,7 @@ protected function loadKeys( array $keys ) {
continue;
}

GFAPI::get_form( (int) $key );
$form = GFAPI::get_form( (int) $key );

// Run the form through `gform_pre_render` to support 3rd party plugins like Populate Anything.
if ( ! empty( $form ) ) {
Expand Down

0 comments on commit b18036e

Please sign in to comment.