From b8189bbc676d17919eb629355646e05d09bb37a8 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 1 Feb 2012 17:06:43 -0500 Subject: [PATCH] Manually applying commit 0d795bfd7691109ef986e6e3922608238c95ae3f by Jason Etheridge. --- Open-ILS/xul/staff_client/chrome/content/util/print.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/print.js b/Open-ILS/xul/staff_client/chrome/content/util/print.js index 6ea3a54848..bd40d40c99 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/print.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/print.js @@ -97,7 +97,7 @@ util.print.prototype = { 'escape_html' : function(data) { if (typeof data == 'null') { return ''; } - return data.replace(/&/g,'&').replace(//g,'>'); + return String(data).replace(/&/g,'&').replace(//g,'>'); }, 'simple' : function(msg,params) { -- 2.11.0