Core: return value from getColumnData if not an object

This commit is contained in:
Rob Garrison 2016-11-18 04:59:59 -06:00
parent be789c9a54
commit b0c643e85c

View File

@ -2282,7 +2282,9 @@
},
getColumnData : function( table, obj, indx, getCell, $headers ) {
if ( typeof obj === 'undefined' || obj === null ) { return; }
if ( typeof obj !== 'object' || obj === null ) {
return obj;
}
table = $( table )[ 0 ];
var $header, key,
c = table.config,