Corrected argument pass through in \ncc\Manager > PackageManager > downloadFile() where $file_handle is passed to ShutdownHandler::declareTemporaryPath() rather than $file_path

This commit is contained in:
Netkas 2023-10-03 17:22:12 -04:00
parent 1e0ea848b8
commit 021d5ec750
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -764,7 +764,7 @@
if(curl_errno($curl))
{
ShutdownHandler::declareTemporaryPath($file_handle);
ShutdownHandler::declareTemporaryPath($file_path);
throw new NetworkException(sprintf('Failed to download file from %s: %s', $url, curl_error($curl)));
}