mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
Code cleaning
This commit is contained in:
parent
106a2d9f04
commit
b4a5824ee8
5 changed files with 23 additions and 25 deletions
|
@ -125,14 +125,12 @@ class LSioFormatDriver {
|
||||||
if (!isset($retone[$attr])) $retone[$attr] = array();
|
if (!isset($retone[$attr])) $retone[$attr] = array();
|
||||||
$retone[$attr][] = $one[$key];
|
$retone[$attr][] = $one[$key];
|
||||||
}
|
}
|
||||||
if (is_array($generated_fields)) {
|
|
||||||
foreach ($generated_fields as $attr => $format) {
|
foreach ($generated_fields as $attr => $format) {
|
||||||
$value = getFData($format, $retone);
|
$value = getFData($format, $retone);
|
||||||
if (!empty($value)) {
|
if (!empty($value)) {
|
||||||
$retone[$attr] = array($value);
|
$retone[$attr] = array($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
$retall[] = $retone;
|
$retall[] = $retone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue