mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Fix some forgotten logic checks temporarily
This commit is contained in:
@@ -202,7 +202,7 @@ class User extends Model implements
|
||||
*/
|
||||
public function isRootAdmin()
|
||||
{
|
||||
return $this->root_admin === 1;
|
||||
return $this->root_admin;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user