GravityPDF / gravity-pdf

Gravity PDF is the ultimate third-party PDF automation tool for generating digital PDFs using the popular form-builder plugin Gravity Forms.
https://gravitypdf.com
89 stars 20 forks source link

Fix error savings forms in Gravity Forms 2.6 #1497

Closed jakejackson1 closed 9 months ago

jakejackson1 commented 9 months ago

Description

The \GFFormsModel::get_form_cache_key( $form_id ) method wasn't introduced until v2.7, and this was causing a fatal error in Gravity Forms 2.6 when saving the form in the editor.

Checklist:

Additional Comments

codecov[bot] commented 9 months ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 77.03%. Comparing base (c069c6e) to head (551020e).

Files Patch % Lines
src/Controller/Controller_Form_Settings.php 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #1497 +/- ## =============================================== + Coverage 77.02% 77.03% +0.01% =============================================== Files 243 243 Lines 12449 12447 -2 Branches 370 370 =============================================== Hits 9589 9589 + Misses 2852 2850 -2 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.