diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index f06bc9d6e..3e15e4092 100644 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -4940,7 +4940,9 @@ class e_admin_ui extends e_admin_controller_ui $model->setPostedData($_POST, null, false, false) ->setParam('validateAvailable', true) // new param to control validate of available data only, reset on validate event ->update(true); - //$res = $this->_manageSubmit('beforeUpdate', 'afterUpdate', 'onUpdateError', 'edit'); + + $res = $this->_manageSubmit('beforeUpdate', 'afterUpdate', 'onUpdateError', 'edit'); + // print_r($res); if($model->hasError()) { diff --git a/e107_plugins/forum/forum_admin.php b/e107_plugins/forum/forum_admin.php index d3ec4b710..56d83da95 100644 --- a/e107_plugins/forum/forum_admin.php +++ b/e107_plugins/forum/forum_admin.php @@ -386,8 +386,7 @@ if(!deftrue('OLD_FORUMADMIN')) public function afterUpdate($new_data, $old_data, $id) { // do something - e107::getCache()->clear_sys('forum_perms'); - + e107::getCache()->clear_sys('forum_perms',true); }