15313670163 1 kuukausi sitten
vanhempi
sitoutus
44395fb013
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/JsonRpc/NewsService.php

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -607,6 +607,7 @@ class NewsService implements NewsServiceInterface
                     $choice_id = $data['choice_id'];
                     if(!empty($choice['other'])){
                         array_push($data['choice_id'],$choice['other']['other_id']);
+                        $choice_id[0] = $choice['other']['other_id'];
                         // return Result::success($data['choice_id']);
                     }
                     // return Result::success($data);