master
parent
b815978def
commit
6d85ab854c
|
|
@ -130,7 +130,7 @@ class Permission extends Model implements Sortable
|
|||
*/
|
||||
public function getHttpPathAttribute($path)
|
||||
{
|
||||
return explode(',', $path);
|
||||
return $path ? explode(',', $path) : [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue