[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/bull statecollection.pl [rel_2_2]
From: |
Ryan Higgins |
Subject: |
[Koha-cvs] koha/bull statecollection.pl [rel_2_2] |
Date: |
Thu, 26 Apr 2007 01:05:06 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Ryan Higgins <rych> 07/04/26 01:05:06
Modified files:
bull : statecollection.pl
Log message:
pass publisheddate to old_serialchangestatus
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/bull/statecollection.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.26&r2=1.3.2.27
Patches:
Index: statecollection.pl
===================================================================
RCS file: /sources/koha/koha/bull/Attic/statecollection.pl,v
retrieving revision 1.3.2.26
retrieving revision 1.3.2.27
diff -u -b -r1.3.2.26 -r1.3.2.27
--- statecollection.pl 23 Apr 2007 02:17:46 -0000 1.3.2.26
+++ statecollection.pl 26 Apr 2007 01:05:05 -0000 1.3.2.27
@@ -68,7 +68,7 @@
if ($serialids[$i]) {
my $planneddate =
($planneddates[$i]?format_date_in_iso($planneddates[$i]):sprintf("%04d-%02d-%02d",Date::Calc::Today));
if(C4::Context->preference("RoutingSerials")){
-
old_serialchangestatus($serialids[$i],$serialseqs[$i],format_date_in_iso($planneddates[$i]),$status[$i],$notes[$i])
unless ($hassubscriptionexpired && $oldstatus == 1);
+
old_serialchangestatus($serialids[$i],$serialseqs[$i],format_date_in_iso($publisheddates[$i]),format_date_in_iso($planneddates[$i]),$status[$i],$notes[$i])
unless ($hassubscriptionexpired && $oldstatus == 1);
} else {
serialchangestatus($serialids[$i],$serialseqs[$i],format_date_in_iso($publisheddates[$i]),$planneddate,$status[$i],$notes[$i])
unless ($hassubscriptionexpired && $oldstatus == 1);
}