diff --git a/src/Path.php b/src/Path.php index 785ed95..b58ae26 100644 --- a/src/Path.php +++ b/src/Path.php @@ -173,7 +173,7 @@ class Path public static function makeUrl($path) { - $slash = (isset($path['host']) && strlen($path['path'] > 0) && ($path['path'][0] != '/')) ? '/' : ''; + $slash = (isset($path['host']) && (strlen($path['path']) > 0) && ($path['path'][0] != '/')) ? '/' : ''; return (isset($path['scheme']) ? $path['scheme'] . ':/' : '') . (isset($path['host']) ? ('/'