fix
This commit is contained in:
@@ -40,6 +40,7 @@ $endpoints = array(
|
||||
'couponpending' => array('POST'),
|
||||
'couponredeem' => array('POST'),
|
||||
'sendinterestmessage' => array('POST'),
|
||||
'replyinterestmessage' => array('POST')
|
||||
);
|
||||
|
||||
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
|
||||
@@ -102,8 +103,10 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") {
|
||||
}
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
switch ($endpoint) {
|
||||
case 'replyinterestmessage':
|
||||
$in["action"] = WRENCHBOARD_JOB_REPLY_QUESTION;
|
||||
break;
|
||||
case 'sendinterestmessage':
|
||||
|
||||
// $in['offer_code'] = $this->input->get('offer_code');
|
||||
$in['yourmessage'] = $in["question"];
|
||||
//$in['member_id'] = $_SESSION['member_id']; // just maing sure
|
||||
|
||||
Reference in New Issue
Block a user