mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
Menu With Auth
This commit is contained in:
parent
8824489704
commit
35d679ed2c
23 changed files with 25 additions and 33 deletions
|
@ -42,6 +42,10 @@ Class Admin{
|
|||
if(empty($id) && $id==0){
|
||||
$id = Admin::getID();
|
||||
}
|
||||
return ORM::for_table('tbl_users')->find_one($id);
|
||||
if($id){
|
||||
return ORM::for_table('tbl_users')->find_one($id);
|
||||
}else{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue