calling entityize without obj ref. obj is an application.pm thing, doesn't know...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Aug 2008 20:14:31 +0000 (20:14 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 29 Aug 2008 20:14:31 +0000 (20:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10481 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm

index 966b25a..16f10e9 100644 (file)
@@ -28,7 +28,6 @@ sub initialize {}
 sub child_init {}
 
 sub entityize {
-       my $self = shift;
        my $stuff = shift;
        my $form = shift;
 
@@ -247,7 +246,7 @@ sub process_spool {
                        $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') {