Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 56053021

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 56053021d98abfd85a033a12d642714d821b8847
  • Vorgänger 8fec2dc1
  • Nachfolger 4c9ae7fe

Project::full_description: style=full für »kein Kunde verknüpft« gefixt

Unterschiede anzeigen:

SL/DB/Project.pm
60 60
  } elsif ($params{style} =~ m/description/) {
61 61
    $description = $self->description;
62 62

  
63
  } elsif ($params{style} =~ m/full/) {
63
  } elsif (($params{style} =~ m/full/) && $self->customer) {
64 64
    $description = $self->projectnumber;
65 65
    if ($self->description && do { my $desc = quotemeta $self->description; $self->projectnumber !~ m/$desc/ }) {
66 66
      $description .= ' ' . $self->description;
......
143 143
domination)"). If the project's description is already part of the
144 144
project's number then it will not be appended.
145 145

  
146
If this project isn't linked to a customer then the style C<both> is
147
used instead.
148

  
146 149
=back
147 150

  
148 151
=back

Auch abrufbar als: Unified diff