| @@ -86,9 +86,8 @@ | ||
| 86 | 86 | /** |
| 87 | 87 | * Gets entry property. |
| 88 | 88 | * |
| 89 | 89 | * @since 5.0.16 |
| 90 | - * | |
| 91 | 90 | * @return stdClass |
| 92 | 91 | */ |
| 93 | 92 | public function get_entry() { |
| 94 | 93 | return $this->entry; |
| @@ -272,9 +271,9 @@ | ||
| 272 | 271 | 'value' => isset( $entry_description['browser'] ) ? FrmEntriesHelper::get_browser( $entry_description['browser'] ) : '', |
| 273 | 272 | ); |
| 274 | 273 | $referrer = array( |
| 275 | 274 | 'label' => __( 'Referrer', 'formidable' ), |
| 276 | - 'value' => $entry_description['referrer'] ?? '', | |
| 275 | + 'value' => isset( $entry_description['referrer'] ) ? $entry_description['referrer'] : '', | |
| 277 | 276 | ); |
| 278 | 277 | |
| 279 | 278 | /** |
| 280 | 279 | * Allow the referrer to be modified. |
| @@ -315,9 +314,8 @@ | ||
| 315 | 314 | * @return bool |
| 316 | 315 | */ |
| 317 | 316 | protected function is_field_included( $field ) { |
| 318 | 317 | $is_included = true; |
| 319 | - | |
| 320 | 318 | if ( ! empty( $this->include_fields ) ) { |
| 321 | 319 | $is_included = $this->is_field_in_array( $field, $this->include_fields ); |
| 322 | 320 | } |
| 323 | 321 | |
| @@ -322,9 +320,8 @@ | ||
| 322 | 320 | } |
| 323 | 321 | |
| 324 | 322 | if ( ! empty( $this->exclude_fields ) ) { |
| 325 | 323 | $is_excluded = $this->is_field_in_array( $field, $this->exclude_fields ); |
| 326 | - | |
| 327 | 324 | if ( $is_excluded ) { |
| 328 | 325 | $is_included = false; |
| 329 | 326 | } |
| 330 | 327 | } |