mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Revert accidental commit
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ab3b5ca4ef
commit
5e8c129c7f
|
@ -131,7 +131,7 @@ final class Company extends SnipeModel
|
|||
public static function isCurrentUserHasAccess($companyable)
|
||||
{
|
||||
// When would this even happen tho??
|
||||
if (!$companyable) {
|
||||
if (is_null($companyable)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue