소스 검색

no message

wzh 5 년 전
부모
커밋
099dffd992
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/application/controllers/Lampcontrol.php

+ 1 - 1
api/application/controllers/Lampcontrol.php

@@ -856,7 +856,7 @@ class Lampcontrol extends Base_Controller {
         $data['projectid'] = $this->input->post('project_id',true);
         $data['number']    = $this->input->post('lamp_no',true);
         $data['section']   = $this->input->post('section',true);
-        $data['address']   = $this->input->post('address',true);
+        $data['address']   = trim($this->input->post('address',true));
         $data['longitude'] = doubleval($this->input->post('longitude',true));
         $data['latitude']  = doubleval($this->input->post('latitude',true));