]> git.evergreen-ils.org Git - working/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:19:48 +0000 (14:19 -0400)
commitde32afd744a7bdefd1418da7da503d4a9d8f508d
treed6830dd2d5f1940aa1772e867e0dda34fe12badf
parent289e5ee465c60f94842c85ca9a8f4b308488d64f
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