forked from extern/egroupware
Api - Fix infinite loop in link if app2 param is not string or array of arrays
This commit is contained in:
parent
4008f82be3
commit
65cae1bf8d
@ -369,6 +369,7 @@ class Link extends Link\Storage
|
||||
if (!is_array($link)) // check for unlink-marker
|
||||
{
|
||||
//echo "<b>link='$link' is no array</b><br>\n";
|
||||
next($app2);
|
||||
continue;
|
||||
}
|
||||
if (is_array($id1) || !$id1) // create link only in $id1 array
|
||||
|
Loading…
Reference in New Issue
Block a user