From: Bill Erickson Date: Tue, 25 Sep 2018 16:53:11 +0000 (-0400) Subject: LP#1779158 Fix Vandelay API existing name thinko X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6c4aac14f3d0f237a94ca460ccf0a1e9a68a5bc9;p=working%2FEvergreen.git LP#1779158 Fix Vandelay API existing name thinko Signed-off-by: Bill Erickson --- 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