Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
* 🐞 Bug: Stop the code inside `<script>` elements showing as text in the PDF
* 🐞 Bug: Don't leave PDF generation filters attached when a PDF fails to generate
* 🐞 Bug: Stop bypassing Populate Anything's live merge tag whitelist after a PDF is generated
* 🐞 Bug: Stop PDFs crashing on Gravity Forms before 2.8.2 when a field leaves a gap in its row
* 🐞 Bug: Use the form's description placement for Consent fields set to "Use Form Setting"
* 🐞 Bug: Show every accepted agreement for Gravity Wiz Terms of Service fields with more than one checkbox
* 💻 Developer: Add `GPDFAPI::get_pdf_url()` to get the URL to an entry's PDF, optionally signed
Expand Down
7 changes: 7 additions & 0 deletions src/Helper/Helper_Field_Container_Gf25.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ public function generate( GF_Field $field ) {

/* Mark as the end of this row if Gravity Forms would insert a spacer */
if ( ! empty( $field->layoutSpacerGridColumnSpan ) ) {
/* Before Gravity Forms 2.8.2 (no get_row_spacer()), every field with a spacer value got a spacer */
if ( ! method_exists( '\GFFormDisplay', 'get_row_spacer' ) ) {
$this->end_of_row = true;

return;
}

$gform = \GPDFAPI::get_form_class();
$form = $gform->get_form( $field->form_id );

Expand Down
Loading