mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSformElement::image: fix getApiValue() method on multiple values
This commit is contained in:
parent
f960b2d394
commit
0e2911dfe5
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class LSformElement_image extends LSformElement {
|
||||||
if ($this -> isMultiple()) {
|
if ($this -> isMultiple()) {
|
||||||
$values = array();
|
$values = array();
|
||||||
for ($i=0; $i < count($this -> values); $i++)
|
for ($i=0; $i < count($this -> values); $i++)
|
||||||
$values[] = base64_encode($this -> values[0]);
|
$values[] = base64_encode($this -> values[$i]);
|
||||||
return $values;
|
return $values;
|
||||||
}
|
}
|
||||||
if (!$this -> values)
|
if (!$this -> values)
|
||||||
|
|
Loading…
Reference in a new issue