diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index b4e7a9a134..41ca6e26a6 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -534,6 +534,10 @@ class egw_vfs extends vfs_stream_wrapper */ static function _rm_rmdir($url) { + if ($url[0] == '/') + { + $url = self::PREFIX . $url; + } if (is_dir($url)) { return rmdir($url);