Loading src/UnicaenLdap/Entity/Base/People.php +2 −2 Original line number Diff line number Diff line Loading @@ -2215,7 +2215,7 @@ class People extends Entity $uni = ''; $value = (string)$value; for ($i = 0; $i < strlen($value); $i++) { $a = ord($value{$i}) << 8; $a = ord($value[$i]) << 8; $uni .= sprintf('%X', $a); } $nthash = hash("md4", pack('H*', $uni), true); Loading @@ -2238,7 +2238,7 @@ class People extends Entity $uni = ''; $value = (string)$value; for ($i = 0; $i < strlen($value); $i++) { $a = ord($value{$i}) << 8; $a = ord($value[$i]) << 8; $uni .= sprintf('%X', $a); } $nthash = hash("md4", pack('H*', $uni), true); Loading src/UnicaenLdap/Service/AbstractService.php +2 −3 Original line number Diff line number Diff line Loading @@ -337,7 +337,7 @@ abstract class AbstractService implements $berIdentifier = null; $name = ldap_first_attribute( $resource, $entry, $berIdentifier $resource, $entry//, $berIdentifier ); $attributes = array(); Loading @@ -359,8 +359,7 @@ abstract class AbstractService implements $attributes[$attrName] = $data; $name = ldap_next_attribute( $resource, $entry, $berIdentifier $resource, $entry//, $berIdentifier ); } ksort($attributes, SORT_LOCALE_STRING); Loading Loading
src/UnicaenLdap/Entity/Base/People.php +2 −2 Original line number Diff line number Diff line Loading @@ -2215,7 +2215,7 @@ class People extends Entity $uni = ''; $value = (string)$value; for ($i = 0; $i < strlen($value); $i++) { $a = ord($value{$i}) << 8; $a = ord($value[$i]) << 8; $uni .= sprintf('%X', $a); } $nthash = hash("md4", pack('H*', $uni), true); Loading @@ -2238,7 +2238,7 @@ class People extends Entity $uni = ''; $value = (string)$value; for ($i = 0; $i < strlen($value); $i++) { $a = ord($value{$i}) << 8; $a = ord($value[$i]) << 8; $uni .= sprintf('%X', $a); } $nthash = hash("md4", pack('H*', $uni), true); Loading
src/UnicaenLdap/Service/AbstractService.php +2 −3 Original line number Diff line number Diff line Loading @@ -337,7 +337,7 @@ abstract class AbstractService implements $berIdentifier = null; $name = ldap_first_attribute( $resource, $entry, $berIdentifier $resource, $entry//, $berIdentifier ); $attributes = array(); Loading @@ -359,8 +359,7 @@ abstract class AbstractService implements $attributes[$attrName] = $data; $name = ldap_next_attribute( $resource, $entry, $berIdentifier $resource, $entry//, $berIdentifier ); } ksort($attributes, SORT_LOCALE_STRING); Loading