mirror of
https://github.com/YGGverse/net-php.git
synced 2025-01-11 23:48:02 +00:00
fix missed path slash
This commit is contained in:
parent
92eb9b3ba2
commit
16f90cb23b
@ -247,6 +247,11 @@ class Address
|
|||||||
|
|
||||||
if ($path = $this->getPath())
|
if ($path = $this->getPath())
|
||||||
{
|
{
|
||||||
|
if (!str_starts_with($path, $this->getSeparator()))
|
||||||
|
{
|
||||||
|
$address .= $this->getSeparator();
|
||||||
|
}
|
||||||
|
|
||||||
$address .= $path;
|
$address .= $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user