[open-ils-commits] r10481 - trunk/Open-ILS/src/perlmods/OpenILS/Application

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Aug 29 16:14:35 EDT 2008


Author: erickson
Date: 2008-08-29 16:14:31 -0400 (Fri, 29 Aug 2008)
New Revision: 10481

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
Log:
calling entityize without obj ref.  obj is an application.pm thing, doesn't know about entityize

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm	2008-08-29 19:39:54 UTC (rev 10480)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm	2008-08-29 20:14:31 UTC (rev 10481)
@@ -28,7 +28,6 @@
 sub child_init {}
 
 sub entityize {
-	my $self = shift;
 	my $stuff = shift;
 	my $form = shift;
 
@@ -247,7 +246,7 @@
 			$xml =~ s/^<\?xml.+\?\s*>//go;
 			$xml =~ s/>\s+</></go;
 			$xml =~ s/\p{Cc}//go;
-			$xml = $self->entityize($xml);
+			$xml = entityize($xml);
 			$xml =~ s/[\x00-\x1f]//go;
 
 			if ($self->{record_type} eq 'bib') {



More information about the open-ils-commits mailing list