LSformElement_mailQuota : little fix to permit import
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 30 Jul 2015 15:57:09 +0000 (17:57 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 30 Jul 2015 15:57:09 +0000 (17:57 +0200)
public_html/includes/class/class.LSformElement_mailQuota.php

index 4418192..91ad93a 100644 (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;