sandm il y a 1 an
Parent
commit
a7d3a09ad8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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']);