From: Chris Sharp Date: Wed, 1 Feb 2012 22:06:43 +0000 (-0500) Subject: Manually applying commit 0d795bfd7691109ef986e6e3922608238c95ae3f by Jason Etheridge. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b8189bbc676d17919eb629355646e05d09bb37a8;p=evergreen%2Fpines.git Manually applying commit 0d795bfd7691109ef986e6e3922608238c95ae3f by Jason Etheridge. --- 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) {