From 1f1ee7921a49d369fb6ed4c10a06c749ec0b43e7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 8 May 2013 15:56:20 +0200 Subject: [PATCH] Pflichtenhefte ohne mtime: itime statt dessen ausgeben --- 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 b72a8c4b4..804a5af46 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -358,7 +358,7 @@ sub prepare_report { status => { sub => sub { $_[0]->status->description } }, type => { sub => sub { $_[0]->type->description } }, version => { sub => sub { $_[0]->version_id ? $_[0]->version->version_number : t8('Working copy without version') } }, - mtime => { sub => sub { $_[0]->mtime->to_kivitendo(precision => 'minute') } }, + mtime => { sub => sub { ($_[0]->mtime || $_[0]->itime)->to_kivitendo(precision => 'minute') } }, ); map { $column_defs{$_}->{text} ||= $::locale->text( $self->get_sort_spec->{$_}->{title} ) } keys %column_defs; -- 2.20.1