Skip to content

Commit

Permalink
gw-progress-meter.php: Fixed an issue where refunds are included in…
Browse files Browse the repository at this point in the history
… the total paid count.
  • Loading branch information
barthc committed Sep 27, 2024
1 parent bfa5e5c commit 418b485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gravity-forms/gw-progress-meter.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public function get_count( $atts ) {
'join' => '',
'where' => $wpdb->prepare( "
WHERE e.form_id = %d
AND e.status = 'active'\n",
AND e.status = 'active'
AND e.payment_status = 'Paid'\n",
$atts['id']
),
);
Expand Down

0 comments on commit 418b485

Please sign in to comment.