Fix asset generation with an empty asset
This commit is contained in:
parent
aebaece460
commit
3b2f5428c3
@ -51,7 +51,7 @@ class PathPackage extends Package
|
||||
$url = $this->applyVersion($path);
|
||||
|
||||
// apply the base path
|
||||
if ($url && '/' != $url[0]) {
|
||||
if ('/' !== substr($url, 0, 1)) {
|
||||
$url = $this->basePath.$url;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user