]> 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:18:57 +0000 (14:18 -0400)
commit090f86427d71eab85fc9b902b715711657e98cbd
tree09d03fd273d995d056c301869730f6de0d115ec5
parent1c061dd30a02a03bfe9d8043057b28e87aa910b2
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