From 851362c13c0a4acea326e4a557144f4e1b19195b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 28 Jan 2015 15:52:55 +0100 Subject: [PATCH] =?utf8?q?Pflichtenhefte:=20nach=20Version=20zur=C3=BCckse?= =?utf8?q?tzen=20richtige=20Versionsnummer=20anzeigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RequirementSpec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1