| @@ -48,12 +48,10 @@ | ||
| 48 | 48 | * @return FrmEntryShortcodeFormatter|FrmProEntryShortcodeFormatter |
| 49 | 49 | */ |
| 50 | 50 | public static function entry_shortcode_formatter_instance( $form_id, $atts ) { |
| 51 | 51 | if ( FrmAppHelper::pro_is_installed() ) { |
| 52 | - $shortcode_formatter = new FrmProEntryShortcodeFormatter( $form_id, $atts ); | |
| 53 | - } else { | |
| 54 | - $shortcode_formatter = new FrmEntryShortcodeFormatter( $form_id, $atts ); | |
| 52 | + return new FrmProEntryShortcodeFormatter( $form_id, $atts ); | |
| 55 | 53 | } |
| 56 | 54 | |
| 57 | - return $shortcode_formatter; | |
| 55 | + return new FrmEntryShortcodeFormatter( $form_id, $atts ); | |
| 58 | 56 | } |
| 59 | 57 | } |