Bug 7413: (follow-up) improve return of GetSoonestRenewDate()
authorGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 22:52:01 +0000 (22:52 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 8 Apr 2014 22:52:01 +0000 (22:52 +0000)
commitf4efda5bc58e619e42493ac635cdaab78f53a950
tree5a391d11725603d25a660f174bfc14034eac36a9
parentef25c3665bcde5278512225297100f26d3dc531a
Bug 7413: (follow-up) improve return of GetSoonestRenewDate()

This patch modifies GetSoonestRenewDate() so that it returns
undef if the patron, item, or loan cannot be found.  This
better reflects the usage of this routine GetSoonestRenewDate(),
as none of its callers tried to check the second return
value containing an error code.

This patch also updates the POD to match.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Circulation.pm