projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3bb31
)
remove trailing , in subject list
author
tipaul
<tipaul>
Wed, 17 Sep 2003 10:20:12 +0000
(10:20 +0000)
committer
tipaul
<tipaul>
Wed, 17 Sep 2003 10:20:12 +0000
(10:20 +0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
2a91b3c
..
5a16a4e
100755
(executable)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-1449,9
+1449,10
@@
sub bibdata {
$sth = $dbh->prepare($query);
$sth->execute($bibnum);
while (my $dat = $sth->fetchrow_hashref){
- $data->{'subject'} .= "
, $dat->{'subject'}
";
+ $data->{'subject'} .= "
$dat->{'subject'},
";
} # while
-
+ chop $data->{'subject'};
+ chop $data->{'subject'};
$sth->finish;
return($data);
} # sub bibdata