Fixed a bug which caused empty version tags to not be deleted because of a wronhg method call.
This commit is contained in:
parent
1229ebb984
commit
b6ec0316f9
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.11
|
||||
- Fixed a bug where empty version tags were not deleted. (Martin Kamerbeek / Oqapi)
|
||||
|
||||
7.7.10
|
||||
- Made a change to LDAP auth that adds an OR to that query so that it also searches for a row with fieldData REGEXP '^uid=(value-from-ldap-directory-server),'. (Wes Morgan)
|
||||
|
|
|
|||
|
|
@ -665,7 +665,7 @@ sub www_manageRevisionsInTag {
|
|||
|
||||
# If no revisions remain, delete the version tag
|
||||
if ( $tag->getRevisionCount <= 0 ) {
|
||||
$tag->delete;
|
||||
$tag->rollback;
|
||||
return www_manageVersions( $session );
|
||||
}
|
||||
}
|
||||
|
|
@ -693,7 +693,7 @@ sub www_manageRevisionsInTag {
|
|||
|
||||
# If no revisions remain, delete the version tag
|
||||
if ( $tag->getRevisionCount <= 0 ) {
|
||||
$tag->delete;
|
||||
$tag->rollback;
|
||||
return www_manageVersions( $session );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue