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 f10e160 commit fcd66b1
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 fcd66b1

Please sign in to comment.