mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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:
parent
ef1ccdf6b1
commit
acea5c17dd
|
|
@ -1469,7 +1469,7 @@ class Ldap
|
|||
);
|
||||
|
||||
$retval = "";
|
||||
while (list($sat, $val) = each($stypes)) {
|
||||
foreach ($stypes as $sat => $val) {
|
||||
if ($samtype == $sat) {
|
||||
$retval = $val;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user