From 6c4aac14f3d0f237a94ca460ccf0a1e9a68a5bc9 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 25 Sep 2018 12:53:11 -0400 Subject: [PATCH] LP#1779158 Fix Vandelay API existing name thinko Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm index a25a59f65b..dba6eb2b12 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm @@ -922,7 +922,7 @@ sub create_session_tracker { # if other trackers exist for this key, adopt the name my $existing = $e->search_vandelay_session_tracker({session_key => $key})->[0]; - $name = $existing->name if $name; + $name = $existing->name if $existing; } else { # anonymous tracker -- 2.11.0