diff --git a/README.txt b/README.txt index 50dfd57eb..c1d4e593e 100644 --- a/README.txt +++ b/README.txt @@ -118,6 +118,7 @@ Gravity PDF can be run on most modern shared web hosting without any issues. It * Housekeeping: Improve Gravity PDF license activation success and error messages * Security: Improve security of network requests to Gravity PDF licensing server * Developer: Add `set_pdf_config( $config )` and `get_pdf_config()` methods to PDF Field classes +* Developer: In the PDF field blacklist, check using the original type and not with `$field->get_input_type()` = 6.8.0 = * Feature: Add PDF Download metabox to Gravity Flow Inbox for logged-in users with appropriate capability diff --git a/src/Model/Model_PDF.php b/src/Model/Model_PDF.php index 78e843bd3..a9fafc457 100644 --- a/src/Model/Model_PDF.php +++ b/src/Model/Model_PDF.php @@ -2319,7 +2319,7 @@ public function field_middle_html_fields( $action, $field, $entry, $form, $confi */ public function field_middle_blacklist( $action, $field, $entry, $form, $config, $products, $blacklisted ) { if ( $action === false ) { - if ( in_array( $field->get_input_type(), $blacklisted, true ) ) { + if ( in_array( $field->type, $blacklisted, true ) ) { return true; } }