From c487897a8b96dcdee25ed9f026e18cff4690637e Mon Sep 17 00:00:00 2001 From: gdarko Date: Fri, 15 Mar 2024 11:35:06 +0100 Subject: [PATCH] Fix import issues --- includes/Controllers/Licenses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Controllers/Licenses.php b/includes/Controllers/Licenses.php index f4e41f2..8f4a5f5 100644 --- a/includes/Controllers/Licenses.php +++ b/includes/Controllers/Licenses.php @@ -385,7 +385,7 @@ public function parseImportFile() { } } elseif ( 'csv' === $ext ) { $licenseKeys = array(); - if ( ( $handle = fopen( DLM_ASSETS_DIR . $tmp_file, 'r' ) ) !== false ) { + if ( ( $handle = fopen( $filePath, 'r' ) ) !== false ) { while ( ( $data = fgetcsv( $handle, 1000, ',' ) ) !== false ) { if ( $data && is_array( $data ) && count( $data ) > 0 ) { $licenseKeys[] = $data[0];