update
Change-Id: Ib485e5b596f70fd48ed2a98fa01a707f3a238e59
This commit is contained in:
parent
0a976603c6
commit
e9cca1cf2b
|
@ -158,7 +158,7 @@ class Applet extends REST_Controller {
|
|||
$dining_hall_info = $this->Common_model->sql_get_one("select * from tb_dining_hall where enabled=1 and id='{$this->user->dining_hall_id}' and company_id='{$this->user->company_id}'");
|
||||
$this->user->dining_hall_name = $dining_hall_info['name'];
|
||||
|
||||
$moreFunction = $this->Common_model->sql_get_all("select * from tb_company_extra_menus where cid={$this->user->company_id} and enabled=1 and is_applet=1 order by idx desc, id asc");
|
||||
$moreFunction = $this->Common_model->sql_get_all("select * from tb_company_extra_menus where cid={$this->user->company_id} and is_applet=1 order by idx desc, id asc");
|
||||
if(!empty($moreFunction)){
|
||||
foreach ($moreFunction as $k => $v){
|
||||
// unset($moreFunction[$k]['id']);
|
||||
|
|
Loading…
Reference in New Issue