forked from extern/egroupware
fix error if query parameters contain null
This commit is contained in:
parent
1dc6964754
commit
fef5bb4972
@ -314,7 +314,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function() {
|
|||||||
|
|
||||||
for(var name in vars)
|
for(var name in vars)
|
||||||
{
|
{
|
||||||
var val = vars[name];
|
var val = vars[name] || ''; // fix error for eg. null, which is an object!
|
||||||
if (typeof val == 'object')
|
if (typeof val == 'object')
|
||||||
{
|
{
|
||||||
for(var i=0; i < val.length; ++i)
|
for(var i=0; i < val.length; ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user