From 7118fee582e402b613a4ac7bb3df798077671490 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 28 Dec 2012 11:17:14 +0100 Subject: [PATCH] Gallery2: HTTP errors fixed --- gal2/UCW/Gallery/Web.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2