Skip to content
Snippets Groups Projects
Commit 5176bed8 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #622482 by seutje: fixed watchdog.

parent b006ec6c
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment