From: Moritz Bunkus Date: Wed, 8 May 2013 13:56:20 +0000 (+0200) Subject: Pflichtenhefte ohne mtime: itime statt dessen ausgeben X-Git-Tag: release-3.2.0beta~467^2~164 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1f1ee7921a49d369fb6ed4c10a06c749ec0b43e7;p=kivitendo-erp.git Pflichtenhefte ohne mtime: itime statt dessen ausgeben --- 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;