Forward port fix for updating property cache on editSave with autoCommit
so that the asset does not lie about its autocommit status.
This commit is contained in:
parent
b89486d5f3
commit
b7358fbceb
3 changed files with 26 additions and 14 deletions
|
|
@ -536,7 +536,7 @@ Sets the versioning lock to "off" so that this piece of content may be edited on
|
|||
|
||||
sub unsetVersionLock {
|
||||
my $self = shift;
|
||||
$self->session->db->write("update asset set isLockedBy=NULL where assetId=".$self->session->db->quote($self->getId));
|
||||
$self->session->db->write("update asset set isLockedBy=NULL where assetId=?",[$self->getId]);
|
||||
$self->{_properties}{isLockedBy} = undef;
|
||||
$self->updateHistory("unlocked");
|
||||
$self->purgeCache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue