From: phasefx Date: Thu, 10 Apr 2008 02:15:30 +0000 (+0000) Subject: fix a fix. typo/thinko X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3846587975b4c4f8a27281e3f8cd0bfa4bd60f23;p=Evergreen.git fix a fix. typo/thinko git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9287 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/user_edit.js b/Open-ILS/xul/staff_client/server/patron/user_edit.js index c67d1f8e6b..32a64e4ad7 100644 --- a/Open-ILS/xul/staff_client/server/patron/user_edit.js +++ b/Open-ILS/xul/staff_client/server/patron/user_edit.js @@ -286,7 +286,7 @@ function grep ( code, list ) { function trim_ou_tree (tree, list) { for (var i in tree) { - if (!tree) continue; + if (!tree[i]) continue; var type = grep( function(x) {return x.id() == tree[i].ou_type()}, ou_type_list )[0]; if ( type && type.can_have_users() == 't' )