Error if form does not exist

When I do gravity_form( ‘Some non-existent form name’, false, false);

then i got this stupid error notice

Notice : Undefined index: gform_resume_email in /www/sites/3/site71533/public_html/wp-content/plugins/gravityforms/form_display.php on line 3516

IMO you should return optimaly NULL or false.

Hello Tomas. Please open a support ticket to report this issue/suggestion:

Thank you.

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.