Skip to content

Commit fcd66b1

Browse files
authored
gw-progress-meter.php: Fixed an issue where refunds are included in the total paid count.
1 parent f10e160 commit fcd66b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gravity-forms/gw-progress-meter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ public function get_count( $atts ) {
100100
'join' => '',
101101
'where' => $wpdb->prepare( "
102102
WHERE e.form_id = %d
103-
AND e.status = 'active'\n",
103+
AND e.status = 'active'
104+
AND e.payment_status = 'Paid'\n",
104105
$atts['id']
105106
),
106107
);

0 commit comments

Comments
 (0)