]> git.evergreen-ils.org Git - Evergreen.git/commit
LP 1819796: Fix method call on undefined value in generate_fines
authorJason Stephenson <jason@sigio.com>
Wed, 13 Mar 2019 16:37:23 +0000 (12:37 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 13 Mar 2019 18:20:07 +0000 (14:20 -0400)
commitb38e63467af4648778d1c4177f61c429ffaae0fa
tree211543418535c0aa51d350fca3c601def8d04ed8
parent7c8ca2dadd8112b6091838d3067f84235490c7b2
LP 1819796: Fix method call on undefined value in generate_fines

The below message repeats in the open-ils.storage_stderr.log:

Caught error from 'run' method: Can't call method "search_where" on an
undefined value at
/usr/local/share/perl/5.26.1/OpenILS/Application/Storage/Publisher/action.pm
line 1014.

This commit removes an errant ->search_where on a CStoreEditor call to
make that message go away.

Also, delete some lines of code that were commented out at the time the
code was converted to use CStoreEditor.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm