]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1667497 - Define $params{depth} to avoid uninitialized warning.
authorJosh Stompro <stompro@stompro.org>
Mon, 4 Mar 2019 14:57:02 +0000 (08:57 -0600)
committerJason Stephenson <jason@sigio.com>
Mon, 4 Mar 2019 16:25:22 +0000 (11:25 -0500)
commit8f87930b37490726485172ad2526aa4cfcf7291c
treec940a614b4e84c5e1a4c29231658317cbd09ebe0
parent7433dcac8c2754299fc4994f787e2633962c8583
LP#1667497 - Define $params{depth} to avoid uninitialized warning.

$depth is set to 0 if $params{depth} is unset, but then $params{depth}
gets used later on, which causes an uninitialized value warning.

So set $params{depth} to whatever $depth was set to.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm