[open-ils-commits] r20340 - trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Apr 27 08:26:27 EDT 2011


Author: dbs
Date: 2011-04-27 08:26:25 -0400 (Wed, 27 Apr 2011)
New Revision: 20340

Modified:
   trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
Log:
One more strictly integer check for fleshing feeds in SuperCat

Missed this one in r20336. Argh.

Signed-off-by: Dan Scott <dscott at laurentian.ca>


Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm	2011-04-27 12:25:51 UTC (rev 20339)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm	2011-04-27 12:26:25 UTC (rev 20340)
@@ -1480,7 +1480,7 @@
         next unless $node;
 
         $xml = '';
-        if ($lib && ($type eq 'marcxml' || $type eq 'atom') && ($flesh > 0 || $flesh eq 'uris')) {
+        if ($lib && ($type eq 'marcxml' || $type eq 'atom') && ($flesh > 0)) {
             my $r = $supercat->request( "open-ils.supercat.$search.holdings_xml.retrieve", $rec, $lib, $depth, $flesh_feed, $paging );
             while ( !$r->complete ) {
                 $xml .= join('', map {$_->content} $r->recv);



More information about the open-ils-commits mailing list