Permalink
Browse files

Merge pull request #21 from michael-e/master

Bugfix for 404 errors
  • Loading branch information...
2 parents 05d51ab + a973dee commit 0cf38c87eb93fe075c5726678e6b9164205be254 @brendo brendo committed Aug 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/image.php
View
@@ -214,7 +214,7 @@ function send404($image_path) {
|| ($param->external === FALSE && (!file_exists($original_file) || !is_readable($original_file)))
) {
// Guess not, return 404.
- send404($image_path);
+ send404($original_file);
}
$meta = Image::getMetaInformation($image_path);
Image::renderOutputHeaders($meta->type);

0 comments on commit 0cf38c8

Please sign in to comment.