Issue #1206916 by bfroehle: Fixed Notice: Use of undefined constant WATCHDOG_ERR.
parent
8578d65075
commit
fb727f3558
|
@ -906,7 +906,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
|
||||||
file_ensure_htaccess();
|
file_ensure_htaccess();
|
||||||
// Perform the copy operation.
|
// Perform the copy operation.
|
||||||
if (!@copy($source, $destination)) {
|
if (!@copy($source, $destination)) {
|
||||||
watchdog('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => $destination), WATCHDOG_ERR);
|
watchdog('file', 'The specified file %file could not be copied to %destination.', array('%file' => $source, '%destination' => $destination), WATCHDOG_ERROR);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue