mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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)
|
||||
{
|
||||
// Default the parameters
|
||||
if (typeof _str == "undefined")
|
||||
if (typeof _str == "undefined" || _str == null)
|
||||
{
|
||||
_str = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user