summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 16:15:36 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-28 16:15:36 -0400
commit3ed6929fde115aa4de920f0ca3fb6f820e856da0 (patch)
treece2e616c73c76bdf79789850a3d4480bb6e48440 /includes/file.inc
parent73db412ca99f2748f7cbc9fb4b3fb7ded9a8a1b1 (diff)
downloadbrdo-3ed6929fde115aa4de920f0ca3fb6f820e856da0.tar.gz
brdo-3ed6929fde115aa4de920f0ca3fb6f820e856da0.tar.bz2
Issue #1096208 by mr.baileys: Fixed PHP notices when creating menu link '#'.
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 19420ca37..b01271216 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;
}