mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Handle if string to be parsed is missing too
This commit is contained in:
parent
3d66a8d948
commit
9ea341151f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user