|
@@ -894,8 +894,10 @@ class NewsService implements NewsServiceInterface
|
|
|
if(!empty($choice_id)){
|
|
|
$key = array_search($choice['other']['id'], $choice_id);
|
|
|
if ($key!== false) {
|
|
|
- $$choice_id[$key]=$choice['other']['other_id'];
|
|
|
+ unset($choice_id[$key]);
|
|
|
+ $choice_id = array_values($choice_id);
|
|
|
}
|
|
|
+ array_push($choice_id,$choice['other']['other_id']);
|
|
|
}else{
|
|
|
$choice_id[0] = $choice['other']['other_id'];
|
|
|
}
|