One more strictly integer check for fleshing feeds in SuperCat
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Apr 2011 12:24:20 +0000 (12:24 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Apr 2011 12:24:20 +0000 (12:24 +0000)
Missed this one in r20336. Argh.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20338 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm

index 149a0b4..e7eb568 100644 (file)
@@ -1466,7 +1466,7 @@ sub create_record_feed {
                next unless $node;
 
                $xml = '';
-               if ($lib && ($type eq 'marcxml' || $type eq 'atom') &&  ($flesh > 0 || $flesh == '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);