Revert accidental commit

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-04-17 09:26:50 +01:00
parent ab3b5ca4ef
commit 5e8c129c7f

View file

@ -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;
}