[open-ils-commits] r8012 - trunk/Open-ILS/web/reports
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 5 19:46:24 EST 2007
Author: erickson
Date: 2007-11-05 19:30:55 -0500 (Mon, 05 Nov 2007)
New Revision: 8012
Modified:
trunk/Open-ILS/web/reports/oils_rpt.js
Log:
protecting against the case where the key is not a string. i.e. in some cases, it can be an array of values
Modified: trunk/Open-ILS/web/reports/oils_rpt.js
===================================================================
--- trunk/Open-ILS/web/reports/oils_rpt.js 2007-11-06 00:25:09 UTC (rev 8011)
+++ trunk/Open-ILS/web/reports/oils_rpt.js 2007-11-06 00:30:55 UTC (rev 8012)
@@ -162,7 +162,7 @@
var key = node[op];
/** if this is a dynamic param, skip it */
- if( key && key.match(/::.*/) ) continue;
+ if( key && (key+'').match(/::.*/) ) continue;
_debug("template params: op = " + op + ", value = " + js2JSON(key));
More information about the open-ils-commits
mailing list