name static setted : ps
This commit is contained in:
parent
73a71e5a09
commit
d5512279ea
@ -943,7 +943,11 @@ class Template_Management_Controller extends REST_Controller {
|
||||
foreach($result_array as $inx => $arr)
|
||||
{
|
||||
if($arr['map_id'] != null || $arr['map_id'] != ""){
|
||||
$result_array[$inx]["forms"] = $this->Template_Management_Model->getTemplateFormsV2($arr['map_id']);
|
||||
$forms =$this->Template_Management_Model->getTemplateFormsV2($arr['map_id']);
|
||||
for($i=0; $i<count($forms); $i++){
|
||||
if($forms[$i]['form_id']=='19'){$forms[$i]['form_name']="Neighbourhood";}
|
||||
}
|
||||
$result_array[$inx]["forms"] = $forms;
|
||||
}else{
|
||||
$result_array[$inx]["forms"] = array();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user