diff --git a/public_html/wp-content/plugins/camptix/camptix.php b/public_html/wp-content/plugins/camptix/camptix.php index 67c50920b..4182556df 100644 --- a/public_html/wp-content/plugins/camptix/camptix.php +++ b/public_html/wp-content/plugins/camptix/camptix.php @@ -5675,8 +5675,9 @@ function form_start() { coupon ) : ?> coupon->tix_discount_price; + $discount_price = (float) $this->coupon->tix_discount_price; $discount_percent = (float) $this->coupon->tix_discount_percent; + $discount_text = '0%'; if ( $discount_price > 0 ) { $discount_text = $this->append_currency( $discount_price ); } elseif ( $discount_percent > 0 ) {