Always get a fresh copy of the survey after doing revision control.
This commit is contained in:
parent
1e55078ac0
commit
7df0cc51ed
2 changed files with 4 additions and 2 deletions
|
|
@ -847,6 +847,7 @@ sub submitObjectEdit {
|
|||
$survey = $self->addRevision;
|
||||
|
||||
$newVersionTag->commit();
|
||||
$survey = $survey->cloneFromDb;
|
||||
|
||||
#Restore the old one, if it exists
|
||||
$oldVersionTag->setWorking() if $oldVersionTag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue