From: Mike Rylander Date: Tue, 13 Sep 2016 21:02:44 +0000 (-0400) Subject: LP1579144: Make client_location_code a hard switch, and default to original behavior X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cfec97fd88d90fbf063c62e052ac2a6b22b4acb9;p=working%2FSIPServer.git LP1579144: Make client_location_code a hard switch, and default to original behavior Signed-off-by: Mike Rylander --- diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 29751f8..aa894d2 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -866,7 +866,8 @@ sub handle_login { )) { $sc_loc ||= $server->{config}->{accounts}->{$uid}->{location_code}; } else { - $sc_loc = $server->{config}->{accounts}->{$uid}->{location_code} || $sc_loc; + # Only use config file value + $sc_loc = $server->{config}->{accounts}->{$uid}->{location_code}; } _load_ils_handler($server, $uid, $sc_loc); }