diff --git a/core/module/user/user.php b/core/module/user/user.php index 4e1a9831..736a070c 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -453,11 +453,17 @@ class user extends common 'notification' => helper::translate('Action interdite') ]); } - $group = $this->getUrl(2); + // Soumission du formulaire if ($this->isPost()) { + $group = $this->getUrl(2); + var_dump( $group ); + die(); $this->setData(['group', - $group, + $group, [ + 'name'=> $this->getData(['group', $group, 'name']), + 'readonly' => $this->getData(['group', $group, 'readonly']), + 'comment'=> $this->getData(['group', $group, 'comment']), 'file' => [ 'download' => $this->getInput('groupEditDownload', helper::FILTER_BOOLEAN), 'edit' => $this->getInput('groupEditEdit', helper::FILTER_BOOLEAN), @@ -478,6 +484,7 @@ class user extends common 'copycut' => $this->getInput('groupEditFolderCopycut', helper::FILTER_BOOLEAN), 'permission' => $this->getInput('groupEditFolderPermission', helper::FILTER_BOOLEAN), ] + ] ]); }