mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
getFData() : added string cast in process
This commit is contained in:
parent
5e86c8d786
commit
f974e6095e
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ function _getFData_extractAndModify($data,$ch) {
|
||||||
if ($ch[5]) {
|
if ($ch[5]) {
|
||||||
if ($ch[6]) {
|
if ($ch[6]) {
|
||||||
if ($ch[3]<0) {
|
if ($ch[3]<0) {
|
||||||
$s=strlen($data)-(-1*$ch[3])-$ch[5];
|
$s=strlen((string)$data)-(-1*$ch[3])-$ch[5];
|
||||||
$l=$ch[5];
|
$l=$ch[5];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -145,7 +145,7 @@ function _getFData_extractAndModify($data,$ch) {
|
||||||
$val=substr((string)$data,$s,$l);
|
$val=substr((string)$data,$s,$l);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$val=$data;
|
$val=(string)$data;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Without Accent
|
# Without Accent
|
||||||
|
|
Loading…
Reference in a new issue