@@ -170,12 +170,10 @@ sub db_get_document_object { | |||
WHERE pw.pageId = ? | |||
GROUP BY l.id", $page->{id}); | |||
while(my $h = $q->fetchrow_hashref()) { | |||
$lang{$h->{lang}}=$h->{count}; | |||
$lang{$h->{short}}=$h->{count}; | |||
} | |||
} | |||
print STDERR Dumper(\%lang); | |||
if ( defined $document ) { | |||
my $out = { |