From: miker Date: Fri, 27 Jul 2007 17:41:32 +0000 (+0000) Subject: git-svn-id: svn://svn.open-ils.org/ILS/trunk@7598 dcc99617-32d9-48b4-a31d-7c20da2025e4 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f3a2c05791ae63faf02d1ab752d046ebd5ec04e8;p=Evergreen.git git-svn-id: svn://svn.open-ils.org/ILS/trunk@7598 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/Exporter.pm b/Open-ILS/src/perlmods/OpenILS/WWW/Exporter.pm index e452cb19a0..c9d6aded72 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/Exporter.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/Exporter.pm @@ -55,7 +55,7 @@ sub handler { return 200 unless (@records); my $type = $cgi->param('rectype') || 'biblio'; - if ($type ne 'biblio && $type ne 'authority') { + if ($type ne 'biblio' && $type ne 'authority') { die "Bad record type: $type"; }