From: Moritz Bunkus Date: Wed, 28 Jan 2015 14:52:55 +0000 (+0100) Subject: Pflichtenhefte: nach Version zurücksetzen richtige Versionsnummer anzeigen X-Git-Tag: release-3.2.0~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=851362c13c0a4acea326e4a557144f4e1b19195b;p=kivitendo-erp.git Pflichtenhefte: nach Version zurücksetzen richtige Versionsnummer anzeigen --- diff --git a/SL/Controller/RequirementSpec.pm b/SL/Controller/RequirementSpec.pm index 6694ce38d..d65ce8926 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -207,7 +207,7 @@ sub action_revert_to { my $version = $versioned_copy->versions->[0]; $version->update_attributes(working_copy_id => $self->requirement_spec->id); - flash_later('info', t8('The requirement spec has been reverted to version #1.', $self->requirement_spec->version->version_number)); + flash_later('info', t8('The requirement spec has been reverted to version #1.', $versioned_copy->version->version_number)); $self->js->redirect_to($self->url_for(action => 'show', id => $self->requirement_spec->id))->render($self); }