fly 4 lat temu
rodzic
commit
a64036210a

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

@@ -50,8 +50,8 @@ class Rereport
                 ]
             );
             $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();
             }
         }