[open-ils-commits] r9470 - trunk/Open-ILS/src/extras

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 28 00:18:47 EDT 2008


Author: dbs
Date: 2008-04-27 23:38:54 -0400 (Sun, 27 Apr 2008)
New Revision: 9470

Modified:
   trunk/Open-ILS/src/extras/org_tree_js.pl
Log:
Declare the globalOrgTypes var to silence another warning


Modified: trunk/Open-ILS/src/extras/org_tree_js.pl
===================================================================
--- trunk/Open-ILS/src/extras/org_tree_js.pl	2008-04-28 03:13:43 UTC (rev 9469)
+++ trunk/Open-ILS/src/extras/org_tree_js.pl	2008-04-28 03:38:54 UTC (rev 9470)
@@ -59,7 +59,7 @@
 $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';



More information about the open-ils-commits mailing list