Commit c04bc962 by Jansa Jose

web api category image change

parent 25b97e4b
...@@ -199,7 +199,7 @@ class Api_model extends CI_Model { ...@@ -199,7 +199,7 @@ class Api_model extends CI_Model {
function category() { function category() {
try { try {
$rs = $this->db->select('cat_id,category,category_ar,category_description,category_image')->where('status',1)->get('event_category')->result(); $rs = $this->db->select('cat_id,category,category_ar,category_description,category_image,category_image_ar')->where('status',1)->get('event_category')->result();
if(count($rs) > 0) { if(count($rs) > 0) {
$res = array('status'=>1,'data'=>$rs); $res = array('status'=>1,'data'=>$rs);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment