diff options
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/it.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ function ED() */ function Q(value) { - return value.toString().replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>'); + return typeof value == "undefined" ? "" : value.toString().replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>'); } /** |