mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 03:43:08 +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 {
|
else {
|
||||||
if (isset($_POST[$this -> name.'_delete'])) {
|
if (isset($_POST[$this -> name.'_delete'])) {
|
||||||
$return[$this -> name][0]='';
|
$return[$this -> name] = array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue