[ bug #1049 ] agenda isn't save preferences

This commit is contained in:
Laurent Destailleur 2013-09-11 11:08:38 +02:00
parent 21d9aa2fe4
commit 50ce834dd0

View File

@ -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();
}
}