From: Don Armstrong Date: Thu, 2 Nov 2017 18:46:43 +0000 (-0700) Subject: fix ImgFile syntax error X-Git-Tag: debian/1.0.2-5~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b6fc16edb853d22e79d70a4f6744bbf8969ebe37;hp=05ac9cf7daaf5ea6ee50c1d8c1dff4b26cc638a0;p=deb_pkgs%2Flibapache-gallery-perl.git fix ImgFile syntax error --- diff --git a/lib/Apache/Gallery.pm b/lib/Apache/Gallery.pm index 3cb6e56..aa60b7a 100644 --- a/lib/Apache/Gallery.pm +++ b/lib/Apache/Gallery.pm @@ -166,7 +166,8 @@ sub handler { unless ($doc_pattern) { $doc_pattern = '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$' } - my $img_pattern = $r->dir_config('GalleryImgFile') unless ($img_pattern) { + my $img_pattern = $r->dir_config('GalleryImgFile'); + unless ($img_pattern) { $img_pattern = '\.(jpe?g|png|tiff?|ppm)$' }