Issue #1206916 by bfroehle: Fixed Notice: Use of undefined constant WATCHDOG_ERR.

8.0.x
webchick 2011-07-28 16:58:28 -04:00
parent 8578d65075
commit fb727f3558
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
file_ensure_htaccess();
// Perform the copy operation.
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;
}