diff --git a/type-detection/currency.js b/type-detection/currency.js index a49d7c0..ce32f21 100644 --- a/type-detection/currency.js +++ b/type-detection/currency.js @@ -12,6 +12,10 @@ jQuery.fn.dataTableExt.aTypes.unshift( { var sValidChars = "0123456789.-,"; var Char; + + if ( typeof sData !== 'string' ) { + return null; + } /* Check the numeric part */ for ( i=1 ; i