[open-ils-commits] r15268 - trunk/Open-ILS/src/perlmods/OpenILS/SIP (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jan 6 19:19:56 EST 2010


Author: dbs
Date: 2010-01-06 19:19:56 -0500 (Wed, 06 Jan 2010)
New Revision: 15268

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
Log:
We don't actually have access to the config from $self, but we can get it from OpenILS::SIP


Modified: trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm	2010-01-07 00:00:53 UTC (rev 15267)
+++ trunk/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm	2010-01-07 00:19:56 UTC (rev 15268)
@@ -419,7 +419,7 @@
 	syslog('LOG_DEBUG', "OILS: overdue_items() fleshing circs @overdues");
 	
 	
-	my @return_datatype = grep { $_->{name} eq 'msg64_summary_datatype' } @{$self->{config}->{implementation_config}->{options}->{option}};
+	my @return_datatype = grep { $_->{name} eq 'msg64_summary_datatype' } OpenILS::SIP::config()->{implementation_config}->{options}->{option};
 	
 	for my $circid (@overdues) {
 		next unless $circid;
@@ -466,7 +466,7 @@
 	my @c;
 	syslog('LOG_DEBUG', "OILS: charged_items() fleshing circs @charges");
 
-	my @return_datatype = grep { $_->{name} eq 'msg64_summary_datatype' } @{$self->{config}->{implementation_config}->{options}->{option}};
+	my @return_datatype = grep { $_->{name} eq 'msg64_summary_datatype' } OpenILS::SIP::config()->{implementation_config}->{options}->{option};
 
 	for my $circid (@charges) {
 		next unless $circid;



More information about the open-ils-commits mailing list