Fix connection

This commit is contained in:
Romain Neutron
2012-09-13 10:50:35 +02:00
parent 812f5817ad
commit 87dce41e77

View File

@@ -467,6 +467,8 @@ class Collection implements ControllerProviderInterface
$user->ACL()->update_rights_to_base($bas_id, array('order_master' => true)); $user->ACL()->update_rights_to_base($bas_id, array('order_master' => true));
} }
$conn->commit();
$success = true; $success = true;
} catch (\Exception $e) { } catch (\Exception $e) {
$conn->rollBack(); $conn->rollBack();