From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 22 Jan 2010 22:50:34 +0000 (+0000)
Subject: Fix up minor (but fatal) typo for the birthday boy :)
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=63b12a7963ee9b83c92732b004ecdf4e6a1bd751;p=contrib%2FConifer.git

Fix up minor (but fatal) typo for the birthday boy :)


git-svn-id: svn://svn.open-ils.org/ILS/trunk@15370 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
index 7ef4e94d11..ab4e2db326 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
@@ -566,8 +566,8 @@ sub multiclass_query {
     while ($query =~ s/((?:keyword(?:\|\w+)?|title(?:\|\w+)?|author(?:\|\w+)?|subject(?:\|\w+)?|series(?:\|\w+)?|site|dir|sort|lang|available):.+?)$//so) {
         my $qpart = $1;
         my $where = index($qpart,':');
-        my $type = substr($qpart1, 0, $where++);
-        my $value = substr($qpart1, $where);
+        my $type = substr($qpart, 0, $where++);
+        my $value = substr($qpart, $where);
 
         next unless $type and $value;