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:
parent
1e0ea848b8
commit
021d5ec750
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue