[ bug #1049 ] agenda isn't save preferences
This commit is contained in:
parent
21d9aa2fe4
commit
50ce834dd0
@ -85,10 +85,12 @@ if ($action == "save" && empty($cancel))
|
||||
if (! $error)
|
||||
{
|
||||
setEventMessage($langs->trans("SetupSaved"));
|
||||
$db->commit();
|
||||
}
|
||||
else
|
||||
{
|
||||
setEventMessage($langs->trans("Error"),'errors');
|
||||
$db->rollback();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user