Fix missing transaction

This commit is contained in:
Laurent Destailleur 2020-10-29 10:40:50 +01:00
parent 78a52eda96
commit b1b7a7c725

View File

@ -219,6 +219,8 @@ if (empty($reshook))
}
if ($action == 'setsubledger_account') {
$db->begin();
$result = $object->fetch($id);
$object->subledger_account = (GETPOST("subledger_account") > 0 ? GETPOST("subledger_account", "alpha") : "");