Syntax error: $isbn should be $isbn_obj
authorJeff Godin <jgodin@tadl.org>
Sun, 29 Apr 2012 23:49:41 +0000 (19:49 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 12 Dec 2012 15:50:37 +0000 (10:50 -0500)
Missed a syntax error in AddedContent.pm: $isbn should
be $isbn_obj

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm

index 539cdd4..90a9de2 100644 (file)
@@ -126,7 +126,7 @@ sub handler {
 
         my @isbns = [map {
             my $isbn_obj = Business::ISBN->new($_);
-            return $isbn->as_string([]);
+            return $isbn_obj->as_string([]);
         } @raw_isbns];
 
         $keyhash = {