mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +01:00
Avoid an error if we try to csv_split() null
This commit is contained in:
parent
fee50cec99
commit
cf32147cc2
@ -353,7 +353,7 @@ function et2_substr (str, start, len) {
|
|||||||
function et2_csvSplit(_str, _num, _delimiter, _enclosure)
|
function et2_csvSplit(_str, _num, _delimiter, _enclosure)
|
||||||
{
|
{
|
||||||
// Default the parameters
|
// Default the parameters
|
||||||
if (typeof _str == "undefined")
|
if (typeof _str == "undefined" || _str == null)
|
||||||
{
|
{
|
||||||
_str = "";
|
_str = "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user