mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
Typo
This commit is contained in:
parent
669d679464
commit
36ecea5174
1 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ function getFData($format,$data,$meth=NULL) {
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = $value[0];
|
$value = $value[0];
|
||||||
}
|
}
|
||||||
$value=_getFData_extractAndModify($value,$ch);
|
$value=_getFData_extractAndModify($value,$ch);
|
||||||
$format[$i]=str_replace($ch[0],$value,$format[$i]);
|
$format[$i]=str_replace($ch[0],$value,$format[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ function getFData($format,$data,$meth=NULL) {
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
$value = $value[0];
|
$value = $value[0];
|
||||||
}
|
}
|
||||||
$value=_getFData_extractAndModify($value,$ch);
|
$value=_getFData_extractAndModify($value,$ch);
|
||||||
$format[$i]=str_replace($ch[0],$value,$format[$i]);
|
$format[$i]=str_replace($ch[0],$value,$format[$i]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -120,7 +120,7 @@ function getFData($format,$data,$meth=NULL) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
while (preg_match($expr,$format[$i],$ch)) {
|
while (preg_match($expr,$format[$i],$ch)) {
|
||||||
$val=_getFData_extractAndModify($data,$ch);
|
$val=_getFData_extractAndModify($data,$ch);
|
||||||
$format[$i]=str_replace($ch[0],$val,$format[$i]);
|
$format[$i]=str_replace($ch[0],$val,$format[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue