1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Merge branch 'DDC-1052'

This commit is contained in:
Benjamin Eberlei 2011-03-20 13:07:55 +01:00
commit 108ceae313

View File

@ -375,7 +375,7 @@ class BasicEntityPersister
$result = $this->_conn->executeUpdate($sql, $params, $types); $result = $this->_conn->executeUpdate($sql, $params, $types);
if ($this->_class->isVersioned && ! $result) { if ($versioned && ! $result) {
throw OptimisticLockException::lockFailed($entity); throw OptimisticLockException::lockFailed($entity);
} }
} }