summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();