This commit is contained in:
2022-04-23 22:34:31 -04:00
parent 8cb2a9d918
commit 984df3184f
8 changed files with 57 additions and 13 deletions
+7 -6
View File
@@ -620,15 +620,16 @@ class Jobs extends Users_Controller {
$data = $this->getSessionArray();
// echo 'Ameye';
$data['offer_code'] = $this->input->get('offer_code');
$data['yourmessage'] = $this->input->get('yourmessage');
$data['member_id'] = $_SESSION['member_id']; // just maing sure
$data['msg_type'] = 'JOB';
$data['action'] = WRENCHBOARD_JOB_SEND_QUESTION;
$in=[];
$in['offer_code'] = $this->input->get('offer_code');
$in['yourmessage'] = $this->input->get('yourmessage');
$in['member_id'] = $_SESSION['member_id']; // just maing sure
$in['msg_type'] = 'JOB';
$in['action'] = WRENCHBOARD_JOB_SEND_QUESTION;
// $this->load->model('backend_model');
$out = array();
$out['status'] = '';
$res = $this->wrenchboard_api($data, $out);
$res = $this->wrenchboard_api($in, $out);
if ($res == PHP_CREATED_OK) {
echo 'Success - Message sent' . $out['status'];
} else {