]> mj.ucw.cz Git - gallery.git/blobdiff - gal2/UCW/Gallery/Web.pm
Gallery2: HTTP errors fixed
[gallery.git] / gal2 / UCW / Gallery / Web.pm
index f58232f35c631d36272c9b5f359a3fec1c5ed8be..1af530ea6734ea165f8ec270dc7f0b9228d25215 100644 (file)
@@ -53,7 +53,7 @@ sub show_img($) {
        my ($self) = @_;
 
        if ($show_img < 1 || $show_img > $self->{num_photos}) {
-               UCW::CGI::http_error(404, 'No such photo');
+               UCW::CGI::http_error('404 No such photo');
                return;
        }