Avoid an error if we try to csv_split() null

This commit is contained in:
Nathan Gray 2013-03-20 16:18:53 +00:00
parent fee50cec99
commit cf32147cc2

View File

@ -353,7 +353,7 @@ function et2_substr (str, start, len) {
function et2_csvSplit(_str, _num, _delimiter, _enclosure)
{
// Default the parameters
if (typeof _str == "undefined")
if (typeof _str == "undefined" || _str == null)
{
_str = "";
}