| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | 12 | die( 'You are not allowed to call this page directly.' ); |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | -$button_class = ! str_contains( $attributes['class'], 'frm-gradient' ) ? 'frm-button-primary' : 'frm-button-secondary'; | |
| 15 | +$button_class = str_contains( $attributes['class'], 'frm-gradient' ) ? 'frm-button-secondary' : 'frm-button-primary'; | |
| 16 | 16 | ?> |
| 17 | 17 | <div <?php FrmAppHelper::array_to_html_params( $attributes, true ); ?>> |
| 18 | 18 | <?php |
| 19 | 19 | if ( ! empty( $args['icon'] ) ) { |