Description
In certain circumstances, $gravityview_view->getCurrentEntry() may return an empty array with no ID. This causes the following PHP warning:
PHP Warning: Undefined array key "id" in /Users/jakejackson/Sites/gravityview/wp-content/plugins/gravity-forms-pdf-extended/src/Helper/Helper_Abstract_Pdf_Shortcode.php on line 236
Add a guard check to ensure the entry ID actually exists before trying to use it.
Description In certain circumstances,
$gravityview_view->getCurrentEntry()
may return an empty array with no ID. This causes the following PHP warning:Add a guard check to ensure the entry ID actually exists before trying to use it.