sim's patch #1096: webdav client class fix (small but essential)

This commit is contained in:
Ralf Becker 2003-03-04 17:46:16 +00:00
parent 9669f27a8c
commit 6395e2a6ab

View File

@ -487,7 +487,7 @@
$fixed_array[] = rawurlencode($name);
}
$fixed_path = implode('/', $fixed_array);
if (empty($parsed_uri['scheme']))
if (!empty($parsed_uri['scheme']))
{
$parsed_uri['path'] = $fixed_path;
$newuri = $this->glue_url($parsed_uri);
@ -524,7 +524,7 @@
$fixed_array[] = rawurldecode($name);
}
$fixed_path = implode('/', $fixed_array);
if (empty($parsed_uri['scheme']))
if (!empty($parsed_uri['scheme']))
{
$parsed_uri['path'] = $fixed_path;
$newuri = $this->glue_url($parsed_uri);