sandm 1 an în urmă
părinte
comite
a7d3a09ad8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      server/api/modules/v1/controllers/SurveyController.php

+ 1 - 1
server/api/modules/v1/controllers/SurveyController.php

@@ -52,7 +52,7 @@ class SurveyController extends Controller {
         $type = request()->get('type');
         if(empty($type)) $type = 'industry';
         
-        $lists = ArrayHelper::toArray(Config::find()->select(['name','value','extra','description','type'])->where(['group' => $type])->all());
+        $lists = ArrayHelper::toArray(Config::find()->select(['name','value','extra','description','type','tips'])->where(['group' => $type])->all());
 
 		foreach ($lists as &$value) {
 			$value['value'] = explode("\r\n",$value['extra']);