Fix some forgotten logic checks temporarily
This commit is contained in:
parent
97d87ff57c
commit
131159c246
4 changed files with 4 additions and 4 deletions
|
@ -202,7 +202,7 @@ class User extends Model implements
|
|||
*/
|
||||
public function isRootAdmin()
|
||||
{
|
||||
return $this->root_admin === 1;
|
||||
return $this->root_admin;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue