| 
														
															@@ -19,6 +19,8 @@ class Admin extends Auth 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $where = array();
 
														 | 
														
														 | 
														
															         $where = array();
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if ($this->user['auth']['module']) {
 
														 | 
														
														 | 
														
															         if ($this->user['auth']['module']) {
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             $where['id'] = array('in', $this->user['auth']['module']);
 
														 | 
														
														 | 
														
															             $where['id'] = array('in', $this->user['auth']['module']);
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } else {
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            $where['system'] = $this->system['key'];
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }
 
														 | 
														
														 | 
														
															         }
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $result = array();
 
														 | 
														
														 | 
														
															         $result = array();
 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $module = Dever::db('system_module', 'manage')->select($where);
 
														 | 
														
														 | 
														
															         $module = Dever::db('system_module', 'manage')->select($where);
 
														 |