From 8dcccee20013867776e47fe4a095ed0f143de958 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 30 Jul 2015 17:57:09 +0200 Subject: [PATCH] LSformElement_mailQuota : little fix to permit import --- public_html/includes/class/class.LSformElement_mailQuota.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public_html/includes/class/class.LSformElement_mailQuota.php b/public_html/includes/class/class.LSformElement_mailQuota.php index 44181924..91ad93a8 100644 --- a/public_html/includes/class/class.LSformElement_mailQuota.php +++ b/public_html/includes/class/class.LSformElement_mailQuota.php @@ -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;