no message
This commit is contained in:
parent
6a06108980
commit
3920116f35
@ -71,10 +71,10 @@ final class ReportUser
|
||||
|
||||
$iRegFromRate = 0;
|
||||
$iPayRagRate = 0;
|
||||
if ($iTotalRegCount) {
|
||||
if ($iTotalRegCount && $iTotalFromCount) {
|
||||
$iRegFromRate = (int) (($iTotalRegCount / $iTotalFromCount) * 100);
|
||||
}
|
||||
if ($iTotalPayCount) {
|
||||
if ($iTotalPayCount && $iTotalRegCount) {
|
||||
$iPayRagRate = (int) (($iTotalPayCount / $iTotalRegCount) * 100);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user