From: Martin Mares Date: Fri, 28 Dec 2012 10:17:14 +0000 (+0100) Subject: Gallery2: HTTP errors fixed X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7118fee582e402b613a4ac7bb3df798077671490;p=gallery.git Gallery2: HTTP errors fixed --- diff --git a/gal2/UCW/Gallery/Web.pm b/gal2/UCW/Gallery/Web.pm index f58232f..1af530e 100644 --- a/gal2/UCW/Gallery/Web.pm +++ b/gal2/UCW/Gallery/Web.pm @@ -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; }