Handle if string to be parsed is missing too

This commit is contained in:
Nathan Gray 2011-10-17 16:08:34 +00:00
parent 3d66a8d948
commit 9ea341151f

View File

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