--- Apache/Gallery.pm Sat Sep 11 17:53:05 2004
+++ new/Gallery.pm Wed Sep 15 10:51:20 2004
@@ -96,9 +96,9 @@
# Handle selected images
if ($cgi->param('selection')) {
my @selected = $cgi->param('selection');
- my $content = "@selected";
+ my $content = join "
\n",@selected;
$r->content_type('text/html');
- $r->headers_out->{'Content-Length'} = length(${$content});
+ $r->headers_out->{'Content-Length'} = length($content);
if (!$::MP2) {
$r->send_http_header;
@@ -204,7 +204,7 @@
$tpl_vars{MENU} = generate_menu($r);
$tpl_vars{FORM_BEGIN} = $select_mode?'