From 4b887c987b81c801ffa00a7c801bec0b8800c5ff Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 31 Oct 2023 21:14:04 +0100 Subject: [PATCH] fix checking for metadatafile --- utils/importfs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/importfs.php b/utils/importfs.php index 45e623927..2d81344db 100644 --- a/utils/importfs.php +++ b/utils/importfs.php @@ -155,7 +155,7 @@ function getUserData($colname, $coldata, $objdata) { /* {{{ */ } /* }}} */ $metadata = array(); -if(!isset($metadatafile)) { +if(isset($metadatafile)) { $csvdelim = ';'; $csvencl = '"'; if($fp = fopen($metadatafile, 'r')) {