4
0
Fork 0
panliang 2022-08-24 00:21:01 +00:00 committed by Gitee
parent b815978def
commit 6d85ab854c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Permission extends Model implements Sortable
*/ */
public function getHttpPathAttribute($path) public function getHttpPathAttribute($path)
{ {
return explode(',', $path); return $path ? explode(',', $path) : [];
} }
/** /**