Revision 05e0e8ca
Von Martin Helmling martin.helmling@octosoft.eu vor fast 8 Jahren hinzugefügt
SL/Controller/EmailJournal.pm | ||
---|---|---|
69 | 69 |
my $ref = \$attachment->content; |
70 | 70 |
if ( $attachment->file_id > 0 ) { |
71 | 71 |
my $file = SL::File->get(id => $attachment->file_id ); |
72 |
$ref = SL::File->get_content(dbfile => $file) if $file;
|
|
72 |
$ref = $file->get_content if $file;
|
|
73 | 73 |
} |
74 | 74 |
$self->send_file($ref, name => $attachment->name, type => $attachment->mime_type); |
75 | 75 |
} |
Auch abrufbar als: Unified diff
Anpassungen an neues SL::File::Object Interface