diff --git a/framework/api/router.class.php b/framework/api/router.class.php index 5e7af07db2..d4ab42aa57 100644 --- a/framework/api/router.class.php +++ b/framework/api/router.class.php @@ -399,6 +399,11 @@ class api extends router if(in_array($this->action, array('post', 'put'))) { $this->setFormData(); + + foreach($_POST as $key => $value) + { + if(isset($this->params[$key])) $this->params[$key] = $value; + } } return parent::loadModule(); }