LSformElement_mailQuota : little fix to permit import

This commit is contained in:
Benjamin Renard 2015-07-30 17:57:09 +02:00
parent 70b767655e
commit 8dcccee200

View file

@ -155,6 +155,11 @@ class LSformElement_mailQuota extends LSformElement {
}
return true;
}
// Accept raw value to make import easier
elseif (isset($_POST[$this -> name])) {
$return[$this -> name]=$_POST[$this -> name];
return true;
}
else {
$return[$this -> name] = array();
return true;