Skip to content

Commit

Permalink
refs #37131. Allow achieved_percent to exceed 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
poliphilochu committed Apr 23, 2024
1 parent 77a303c commit 48206a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Page/PCPInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function run() {
'fullwidth' => TRUE,
'display' => $pcpInfo['is_thermometer'],
'current' => $totalAmount,
'achieved_percent' => floor($achieved) <= 100 ? $achieved : 100,
'achieved_percent' => floor($achieved),
'achieved_status'=> floor($achieved) >= 100 ? TRUE : FALSE,
'contribution_page_is_active' => $contributionPageInfo['is_active']
);
Expand Down

0 comments on commit 48206a6

Please sign in to comment.