Skip to content

Commit

Permalink
fix role error
Browse files Browse the repository at this point in the history
  • Loading branch information
huzs1622 committed Aug 11, 2015
1 parent c2a6a7f commit 0f3fa35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/manage/role.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public function action($id,$node_id=NULL){
foreach($role_data as $vo){
$role_node_list[$vo->dirc][$vo->cont][$vo->func] = TRUE;
}
if(!isset($role_node_list)) $role_node_list=NULL;
$this->load->view('manage/role/action',array('role_id'=>$id,'node'=>$node_list,'rnl'=>$role_node_list));
}

Expand Down

0 comments on commit 0f3fa35

Please sign in to comment.