[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 0d87a3253106f3110a325c290d35ea1a62dcc872
Evergreen Git
git at git.evergreen-ils.org
Fri Nov 22 15:10:38 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_4 has been updated
via 0d87a3253106f3110a325c290d35ea1a62dcc872 (commit)
from da75e94d037be0de04469b9140770a5201c1a8b5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0d87a3253106f3110a325c290d35ea1a62dcc872
Author: Bill Erickson <berick at esilibrary.com>
Date: Fri Nov 22 14:55:26 2013 -0500
LP#1254146 gracefully handle custom trees sans entries
Avoid references to custom tree entries when no tree entries for a
custom tree exist. Prevents:
egweb: template error: undef error - Can't call method "org_unit" on an
undefined value at
/usr/local/share/perl/5.10.1/OpenILS/WWW/EGCatLoader/Util.pm line 185.\n
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
index 84bf2fc..43133af 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
@@ -182,7 +182,8 @@ sub init_ro_object_cache {
}
}
- $cache{aouct_tree}{$ctx->{locale}} = $node_tree->org_unit;
+ $cache{aouct_tree}{$ctx->{locale}} =
+ $node_tree->org_unit if $node_tree;
}
}
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list