Fix missing transaction
This commit is contained in:
parent
78a52eda96
commit
b1b7a7c725
@ -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") : "");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user