Template_Management_Model.php edited online with Bitbucket
This commit is contained in:
parent
85ff00ea4f
commit
4fa4ba47ae
@ -309,7 +309,7 @@ class Template_Management_Model extends SPARQ_Model {
|
||||
}
|
||||
|
||||
public function getTemplateFormsV2($value){
|
||||
$this->db->SELECT('TEMPLATE_JSON_V2.form_id,PDFORMS.pd_form_name,TEMPLATE_JSON_V2.json');
|
||||
$this->db->SELECT('TEMPLATE_JSON_V2.form_id,PDFORMS.pd_form_name as form_name,TEMPLATE_JSON_V2.json');
|
||||
$this->db->FROM(TEMPLATE_JSON_V2.' as TEMPLATE_JSON_V2');
|
||||
$this->db->JOIN(PDFORMS.' as PDFORMS','TEMPLATE_JSON_V2.form_id = PDFORMS.pd_form_id','LEFT');
|
||||
$this->db->WHERE('TEMPLATE_JSON_V2.map_id',$value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user