mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
Portal: Fix user profile edition due to recent user rights changes.
SVN:trunk[5303]
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
namespace Combodo\iTop\Portal\Form;
|
||||
|
||||
use Exception;
|
||||
use IssueLog;
|
||||
use CMDBSource;
|
||||
use Dict;
|
||||
use UserRights;
|
||||
@@ -120,6 +121,7 @@ class PreferencesFormManager extends FormManager
|
||||
// Updating only if preferences changed
|
||||
if ($iFieldChanged > 0)
|
||||
{
|
||||
$oCurUser->AllowWrite(true);
|
||||
$oCurUser->DBUpdate();
|
||||
$aData['messages']['success'] += array('_main' => array(Dict::S('Brick:Portal:Object:Form:Message:Saved')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user