mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Try to fix
This commit is contained in:
@@ -120,8 +120,8 @@ function show_ldap_content($result,$level,$count,$var,$hide=0)
|
||||
{
|
||||
global $bc, $conf;
|
||||
|
||||
$count++;
|
||||
if ($count > 1000) return -1; // To avoid infinite loop
|
||||
$count--;
|
||||
if ($count == 0) return -1; // To stop loop
|
||||
if (! is_array($result)) return -1;
|
||||
|
||||
foreach($result as $key => $val)
|
||||
|
||||
Reference in New Issue
Block a user