LP#1667497 - Define $params{depth} to avoid uninitialized warning. user/stompro/lp1667497_set_depth_undefied_log_noise
authorJosh Stompro <stompro@stompro.org>
Mon, 4 Mar 2019 14:57:02 +0000 (08:57 -0600)
committerJosh Stompro <stompro@stompro.org>
Mon, 4 Mar 2019 14:57:02 +0000 (08:57 -0600)
commit32c55d1cfce0c448f420882efb9a8faedf172324
tree2c73dda1599fcc47a9b4e6ad418ea3cdfe1a88de
parentd1e58bbe6dd32d65f2f20d52607eafa36e01e20e
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm