From fb727f3558a41d3d56642f59ec239f5e9ccd2fb4 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Thu, 28 Jul 2011 16:58:28 -0400
Subject: [PATCH] Issue #1206916 by bfroehle: Fixed Notice: Use of undefined
 constant WATCHDOG_ERR.

---
 includes/file.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/file.inc b/includes/file.inc
index d512708eec99..a02d3cada591 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;
   }
 
-- 
GitLab