From 6395e2a6ab2d6e657ff29ae6e730849de9a921d7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Mar 2003 17:46:16 +0000 Subject: [PATCH] sim's patch #1096: webdav client class fix (small but essential) --- phpgwapi/inc/class.http_dav_client.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.http_dav_client.inc.php b/phpgwapi/inc/class.http_dav_client.inc.php index c936c3b197..9d768828ef 100644 --- a/phpgwapi/inc/class.http_dav_client.inc.php +++ b/phpgwapi/inc/class.http_dav_client.inc.php @@ -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);