Skip to content

Commit

Permalink
Refs #40326 11f, Set value to 0 when statusIndex is false.
Browse files Browse the repository at this point in the history
  • Loading branch information
apple843119 committed Apr 24, 2024
1 parent 4cae315 commit 229c441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static function whereClauseSingle(&$values, &$query) {
}

// Check contribution status exit or not
if ($statusIndex !== null) {
if ($statusIndex !== null && $statusIndex != false) {
$value = $statusIndex;
}
else {
Expand Down

0 comments on commit 229c441

Please sign in to comment.