Commit bb56d4c9 authored by catch's avatar catch

Issue #2393455 by slashrsm, RavindraSingh: Wrong arguments sent to...

Issue #2393455 by slashrsm, RavindraSingh: Wrong arguments sent to LoggerInterface::error() from file_unmanaged_move()
parent fcb5df20
......@@ -617,7 +617,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
// If the copy failed and realpaths exist, retry the operation using them
// instead.
if ($real_source === FALSE || $real_destination === FALSE || !@copy($real_source, $real_destination)) {
$logger->error('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => $destination));
$logger->error('The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => $destination));
return FALSE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment