Don't commit an empty version tag when extending calender recurrences. Fixes bug #12240.
This commit is contained in:
parent
d76ff6ef33
commit
68da3427c5
2 changed files with 8 additions and 1 deletions
|
|
@ -194,7 +194,13 @@ sub processRecurrence {
|
|||
$event->generateRecurrence($d);
|
||||
}
|
||||
|
||||
$versionTag->commit;
|
||||
##If nothing needed to happen, then don't keep the tag around.
|
||||
if ($versionTag->getAssetCount > 0) {
|
||||
$versionTag->commit;
|
||||
}
|
||||
else {
|
||||
$versionTag->rollback;
|
||||
}
|
||||
return $time_limit ? 1 : 0;
|
||||
} ## end sub processRecurrence
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue