From: dbs Date: Mon, 28 Apr 2008 03:38:54 +0000 (+0000) Subject: Declare the globalOrgTypes var to silence another warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e9f3d6cfbaef678494f4e524aed9d71a1dbc2c4b;p=Evergreen.git Declare the globalOrgTypes var to silence another warning git-svn-id: svn://svn.open-ils.org/ILS/trunk@9470 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/org_tree_js.pl b/Open-ILS/src/extras/org_tree_js.pl index a867650dfa..9ef9ac224a 100644 --- a/Open-ILS/src/extras/org_tree_js.pl +++ b/Open-ILS/src/extras/org_tree_js.pl @@ -59,7 +59,7 @@ $pile .= join ',', @array; $pile .= "]; /* Org Units */ \n"; -$pile .= 'globalOrgTypes = ['; +$pile .= 'var globalOrgTypes = ['; for my $t (@$types) { my ($u,$v,$d,$i,$n,$o,$p) = (val($t->can_have_users),val($t->can_have_vols),$t->depth,$t->id,val($t->name),val($t->opac_label),$t->parent); $p ||= 'null';