Correct typo in variable assignment
authorJeff Godin <jgodin@tadl.org>
Mon, 3 Jun 2013 19:34:26 +0000 (15:34 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 3 Jun 2013 19:34:26 +0000 (15:34 -0400)
Correct typo ( | shoula have been || ) in variable assignment.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/LibraryREST.pm

index 70c19f3..05a774a 100644 (file)
@@ -76,7 +76,7 @@ sub get_user {
     my $token = shift;
     return unless ($user && $token);
 
-    my $target_user = shift | $user;
+    my $target_user = shift || $user;
 
     my $user_summary = $U->simplereq(
         'open-ils.actor',