Bug 8804 [Revised] Quiet errors in the log from Auth.pm
authorOwen Leonard <oleonard@myacpl.org>
Fri, 21 Sep 2012 20:49:51 +0000 (16:49 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 2 Nov 2012 17:13:23 +0000 (06:13 +1300)
commit4e0af00bfae05d6a48d218b7638fcbedca010267
tree80457c946b9d4a3d6bbd166cbc5065f5c2532a07
parent28145b63d824f6ab3698e10f3c25cd5b10747689
Bug 8804 [Revised] Quiet errors in the log from Auth.pm

Found three cases where variables were being
referenced which did not (in each case) exist. Adding
checks for those variables' existence.

Errors appeared when logged in and viewing a detail
page in the OPAC.

Revision simplifies logic as per RM suggestion.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth.pm