|
@@ -50,8 +50,8 @@ class Rereport
|
|
]
|
|
]
|
|
);
|
|
);
|
|
$report_info = $this->addReportCount($report_user);
|
|
$report_info = $this->addReportCount($report_user);
|
|
- if ($report_info) {
|
|
|
|
- $charge->report_percent = $report_info['report'];
|
|
|
|
|
|
+ if ($report_info && isset($report_info['percent'])) {
|
|
|
|
+ $charge->report_percent = $report_info['percent'];
|
|
$charge->save();
|
|
$charge->save();
|
|
}
|
|
}
|
|
}
|
|
}
|