summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-05 02:50:38 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-05 02:50:38 +0000
commit5176bed85e702d89fc532d9281ba4e0b6dbfe8af (patch)
tree77dbff9d13306bc9d03734ed540f8de64dafe93c /modules
parentb006ec6cb4f09aafb4282bdaae74be4d328973e5 (diff)
downloadbrdo-5176bed85e702d89fc532d9281ba4e0b6dbfe8af.tar.gz
brdo-5176bed85e702d89fc532d9281ba4e0b6dbfe8af.tar.bz2
- Patch #622482 by seutje: fixed watchdog.
Diffstat (limited to 'modules')
-rw-r--r--modules/image/image.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/image/image.module b/modules/image/image.module
index 8c10f79e3..530a04d0d 100644
--- a/modules/image/image.module
+++ b/modules/image/image.module
@@ -631,7 +631,7 @@ function image_style_generate() {
file_transfer($image->source, array('Content-Type' => $image->info['mime_type'], 'Content-Length' => $image->info['file_size']));
}
else {
- watchdog('image', 'Unable to generate the derived image located at %path.', $destination);
+ watchdog('image', 'Unable to generate the derived image located at %path.', array('%path' => $destination));
drupal_add_http_header('500 Internal Server Error');
print t('Error generating image.');
drupal_exit();