projects
/
com.zyxware.civiwci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccaea9
)
#29750 percentage round to 100 if getting bigger
author
Jagadedes
<jagadees.pillai@zyxware.com>
Thu, 30 Oct 2014 08:47:38 +0000
(14:17 +0530)
committer
Jagadedes
<jagadees.pillai@zyxware.com>
Thu, 30 Oct 2014 08:47:38 +0000
(14:17 +0530)
CRM/Wci/BAO/ProgressBar.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Wci/BAO/ProgressBar.php
b/CRM/Wci/BAO/ProgressBar.php
index 92654f43062300d80b92cd608cb4b231d0eca8d8..ab2aa716ad98597cd2f407d1d5cc21e5e4a3603c 100644
(file)
--- a/
CRM/Wci/BAO/ProgressBar.php
+++ b/
CRM/Wci/BAO/ProgressBar.php
@@
-194,7
+194,9
@@
class CRM_Wci_BAO_ProgressBar extends CRM_Wci_DAO_ProgressBar {
}
}
(0 == $ga) ? $perc = 0: $perc = (($sa + $bp) / $ga ) * 100;
-
+ if (100 < $perc){
+ $perc = 100;
+ }
return $perc;
}
}