mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
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
|
if (!is_array($link)) // check for unlink-marker
|
||||||
{
|
{
|
||||||
//echo "<b>link='$link' is no array</b><br>\n";
|
//echo "<b>link='$link' is no array</b><br>\n";
|
||||||
|
next($app2);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (is_array($id1) || !$id1) // create link only in $id1 array
|
if (is_array($id1) || !$id1) // create link only in $id1 array
|
||||||
|
Loading…
Reference in New Issue
Block a user