[Koha-cvs] koha/C4 Bull.pm [rel_2_2]

paul poulain paul at koha-fr.org
Tue May 9 17:09:16 CEST 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	paul poulain <tipaul at savannah.gnu.org>	06/05/09 15:09:16

Modified files:
	C4             : Bull.pm 

Log message:
	fix for #975 : renewal of a subscription create a biblio

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Bull.pm.diff?only_with_tag=rel_2_2&tr1=1.6.2.22&tr2=1.6.2.23&r1=text&r2=text

Patches:
Index: koha/C4/Bull.pm
diff -u koha/C4/Bull.pm:1.6.2.22 koha/C4/Bull.pm:1.6.2.23
--- koha/C4/Bull.pm:1.6.2.22	Tue Apr  4 13:15:50 2006
+++ koha/C4/Bull.pm	Tue May  9 15:09:16 2006
@@ -720,7 +720,7 @@
 	my $sth = $dbh->prepare("select * from biblio,biblioitems where biblio.biblionumber=biblioitems.biblionumber and biblio.biblionumber=?");
 	$sth->execute($subscription->{biblionumber});
 	my $biblio = $sth->fetchrow_hashref;
-	newsuggestion($user,$subscription->{bibliotitle},$biblio->{author},$biblio->{publishercode},$biblio->{note},,,,,$subscription->{biblionumber});
+	newsuggestion($user,$subscription->{bibliotitle},$biblio->{author},$biblio->{publishercode},$biblio->{note},'','','','','',$subscription->{biblionumber});
 	# renew subscription
 	$sth=$dbh->prepare("update subscription set startdate=?,numberlength=?,weeklength=?,monthlength=?");
 	$sth->execute(format_date_in_iso($startdate),$numberlength,$weeklength,$monthlength);





More information about the Koha-cvs mailing list