Parent Directory | Revision Log | Patch
revision 36 by dpavlin, Sun Feb 23 07:07:33 2003 UTC | revision 37 by dpavlin, Sat Mar 15 19:37:07 2003 UTC | |
---|---|---|
# | Line 137 sub fetch { | Line 137 sub fetch { |
137 | $sth->execute() || die "execute: $sql; ".$self->{dbh}->errstr(); | $sth->execute() || die "execute: $sql; ".$self->{dbh}->errstr(); |
138 | my @arr; | my @arr; |
139 | while (my $row = $sth->fetchrow_hashref) { | while (my $row = $sth->fetchrow_hashref) { |
140 | $row->{item} = HTML::Entities::encode($row->{item}); | $row->{item} = HTML::Entities::encode($row->{item},'<>&"'); |
141 | push @arr,$row; | push @arr,$row; |
142 | } | } |
143 | return @arr; | return @arr; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |