fly 4 vuotta sitten
vanhempi
commit
4b7577cdda
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/Services/LandingPage/ChargeFeedBack/Rereport.php

+ 2 - 2
src/Services/LandingPage/ChargeFeedBack/Rereport.php

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