|
@@ -404,6 +404,7 @@ class Alarm extends Base_Controller {
|
|
|
$phone = $this->input->post('phone',true);
|
|
|
|
|
|
$project = $this->input->post('project',true);
|
|
|
+ $project = $project === null ? '' : $project;
|
|
|
|
|
|
if ($phone === '' || $phone === null) exit(json_result('0607',$this->response['0607']));
|
|
|
if ($email === '' || $email === null) exit(json_result('0618',$this->response['0618']));
|