Commit f0821acf authored by Jordan Barnes's avatar Jordan Barnes Committed by Gisle Hannemyr
Browse files

Issue #3257226 by j-barnes: Fixed path cannot be empty in fopen

parent c8b5c8cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class UserCsvImportController {
  public static function processUpload(File $file, array $config) {

    // Open the uploaded file.
    $handle = fopen($file->destination, 'r');
    $handle = fopen($file->getFileUri(), 'r');

    $created = [];
    $i = 0;