| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | ob_start(); |
| 39 | 39 | |
| 40 | 40 | $form = weforms()->form->get( $id ); |
| 41 | 41 | |
| 42 | - if ( !$form->id || 'wpuf_contact_form' !== $form->data->post_type ) { | |
| 42 | + if ( !$form->id ) { | |
| 43 | 43 | return $this->show_error( __( 'The form couldn\'t be found.', 'weforms' ) ); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | $is_open = $form->is_submission_open(); |