fix
This commit is contained in:
@@ -670,7 +670,7 @@ $data = $this->getSessionArray();
|
||||
|
||||
|
||||
|
||||
$sqlMsg = "SELECT to_char(jc.created, 'YYYY-MM-DD HH24:MI') AS date1, '<b>'||(CASE WHEN jc.msg_type='FILE' THEN 'FILE' ELSE '' END) ||'</b>'||m.firstname AS title,jc.id as msg_id,"
|
||||
$sqlMsg = "SELECT to_char(jc.created, 'YYYY-MM-DD HH24:MI') AS date1, '<b>'||(CASE WHEN jc.msg_type='FILE' THEN 'FILE-' ELSE '' END) ||'</b>'||m.firstname AS title,jc.id as msg_id,"
|
||||
. "(CASE WHEN jc.msg_type='FILE' THEN '<a target=\"_blank\" href=\"/smedia/" . ($is_live ? "LIVE" : "TEST") . "/contract/" . $data['contract_id'] . "/'||jc.message||'\">'||jc.message||'</a>' ELSE jc.message END) AS msg "
|
||||
. "FROM jobs_contract_message jc "
|
||||
. "LEFT JOIN members m ON m.id=jc.member_id "
|
||||
|
||||
Reference in New Issue
Block a user