forked from Wavyzz/dolibarr
each is deprecated in PHP7.2 and removed in PHP8.0 (#26317)
See https://www.php.net/manual/en/function.each.php
This commit is contained in:
@@ -1469,7 +1469,7 @@ class Ldap
|
||||
);
|
||||
|
||||
$retval = "";
|
||||
while (list($sat, $val) = each($stypes)) {
|
||||
foreach ($stypes as $sat => $val) {
|
||||
if ($samtype == $sat) {
|
||||
$retval = $val;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user