From 5176bed85e702d89fc532d9281ba4e0b6dbfe8af Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 5 Nov 2009 02:50:38 +0000 Subject: - Patch #622482 by seutje: fixed watchdog. --- modules/image/image.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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(); -- cgit v1.2.3