diff --git a/src/_h5ai/php/inc/ZipIt.php b/src/_h5ai/php/inc/ZipIt.php index 41b9b416..78c23165 100644 --- a/src/_h5ai/php/inc/ZipIt.php +++ b/src/_h5ai/php/inc/ZipIt.php @@ -28,7 +28,7 @@ class ZipIt { $zip->addEmptyDir("/"); foreach ($hrefs as $href) { - $d = H5ai::normalize_path(dirname($href, true)); + $d = H5ai::normalize_path(dirname($href), true); $n = basename($href); $code = $this->h5ai->getHttpCode($d); if ($code == 401) {