]> mj.ucw.cz Git - gallery.git/commitdiff
Gallery2: HTTP errors fixed
authorMartin Mares <mj@ucw.cz>
Fri, 28 Dec 2012 10:17:14 +0000 (11:17 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:16 +0000 (21:14 +0100)
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;
        }