mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSformElement::image: fix bug deleting current image
This commit is contained in:
parent
0e2911dfe5
commit
3ddc51004f
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class LSformElement_image extends LSformElement {
|
|||
}
|
||||
else {
|
||||
if (isset($_POST[$this -> name.'_delete'])) {
|
||||
$return[$this -> name][0]='';
|
||||
$return[$this -> name] = array();
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue