Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8864a76c

Von Sven Schöling vor mehr als 7 Jahren hinzugefügt

  • ID 8864a76cbd34aee803ced85fc771418d3ea620e6
  • Vorgänger 34cc5469
  • Nachfolger c476418e

Belege email dialog: Ohne id nicht nach zu sendenden Dateien suchen.

Unterschiede anzeigen:

bin/mozilla/io.pl
1954 1954

  
1955 1955
  return %files if !$::instance_conf->get_doc_storage;
1956 1956

  
1957
  $files{versions} = [ SL::File->get_all_versions(object_id => $::form->{id},    object_type => $::form->{type}, file_type => 'document') ];
1958
  $files{files}    = [ SL::File->get_all(         object_id => $::form->{id},    object_type => $::form->{type}, file_type => 'attachment') ];
1959
  $files{vc_files} = [ SL::File->get_all(         object_id => $::form->{vc_id}, object_type => $::form->{vc},   file_type => 'attachment') ]
1960
    if $::form->{vc} && $::form->{"vc_id"};
1957
  if ($::form->{id}) {
1958
    $files{versions} = [ SL::File->get_all_versions(object_id => $::form->{id},    object_type => $::form->{type}, file_type => 'document') ];
1959
    $files{files}    = [ SL::File->get_all(         object_id => $::form->{id},    object_type => $::form->{type}, file_type => 'attachment') ];
1960
    $files{vc_files} = [ SL::File->get_all(         object_id => $::form->{vc_id}, object_type => $::form->{vc},   file_type => 'attachment') ]
1961
      if $::form->{vc} && $::form->{"vc_id"};
1962
  }
1961 1963

  
1962 1964
  my @parts =
1963 1965
    uniq_by { $_->{id} }

Auch abrufbar als: Unified diff