View | Details | Raw Unified | Return to bug 14412
Collapse All | Expand All

(-)a/opac/opac-tags_subject.pl (-3 / +2 lines)
Lines 51-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
51
51
52
my $number = $query->param('number') || 100;
52
my $number = $query->param('number') || 100;
53
53
54
my $sth = $dbh->prepare("SELECT entry,weight FROM tags ORDER BY weight DESC LIMIT $number");
54
my $sth = $dbh->prepare("SELECT entry,weight FROM tags ORDER BY weight DESC LIMIT ?");
55
$sth->execute;
55
$sth->execute($number);
56
56
57
my %result;
57
my %result;
58
my $max=0;
58
my $max=0;
59
- 

Return to bug 14412