Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5176bed8
Commit
5176bed8
authored
Nov 05, 2009
by
Dries Buytaert
Browse files
- Patch
#622482
by seutje: fixed watchdog.
parent
b006ec6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/image/image.module
View file @
5176bed8
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment