mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +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()) {
|
||||
$values = array();
|
||||
for ($i=0; $i < count($this -> values); $i++)
|
||||
$values[] = base64_encode($this -> values[0]);
|
||||
$values[] = base64_encode($this -> values[$i]);
|
||||
return $values;
|
||||
}
|
||||
if (!$this -> values)
|
||||
|
|
Loading…
Reference in a new issue