]> git.evergreen-ils.org Git - Evergreen.git/commit
Consolidate on checking for integers for -full / -uris
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Apr 2011 12:21:13 +0000 (12:21 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 27 Apr 2011 12:21:13 +0000 (12:21 +0000)
commit6aefc424c5e88ea2a324b43eb889866f9e28fe43
tree458f5bbb9b6f40790683ce7d920263180a8a8e0f
parent27988d680d9914ef4f2f5a68c0b79f92b9eca271
Consolidate on checking for integers for -full / -uris

The check for an integer when $flesh eq 'uris' was throwing errors
and breaking authority browsing; rather than complicating matters
further, use an explicit integer for the return value when the format
ends with "-uris" so that we can simply test for an integer value
greater than 0.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20337 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm