summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2011-07-28 16:58:28 -0400
committerwebchick2011-07-28 16:58:28 -0400
commitfb727f3558a41d3d56642f59ec239f5e9ccd2fb4 (patch)
tree1dcc46f41340069f7bf7f9c77cc40e324b70e5ed
parent8578d650755091805c1b405f897bb8237196da9b (diff)
Issue #1206916 by bfroehle: Fixed Notice: Use of undefined constant WATCHDOG_ERR.
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index d512708..a02d3ca 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -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;
}