git-svn-id: svn://svn.open-ils.org/ILS/trunk@7598 dcc99617-32d9-48b4-a31d-7c20da2025e4
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Jul 2007 17:41:32 +0000 (17:41 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 27 Jul 2007 17:41:32 +0000 (17:41 +0000)
Open-ILS/src/perlmods/OpenILS/WWW/Exporter.pm

index e452cb1..c9d6ade 100644 (file)
@@ -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";
        }