Revision 29f7a565
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
SL/BackgroundJob/CheckBelowMinimumStock.pm | ||
---|---|---|
91 | 91 |
my $filename = $email_template || ( (SL::DB::Default->get->templates || "templates/mails") . "/below_minimum_stock/error_email.html" ); |
92 | 92 |
my $content_type = $filename =~ m/.html$/ ? 'text/html' : 'text/plain'; |
93 | 93 |
|
94 |
my @ids = @{$self->{ids}};
|
|
95 |
my @parts = @{SL::DB::Manager::Part->get_all(where => [id => @ids])};
|
|
94 |
my @ids = @{ $self->{ids} };
|
|
95 |
my @parts = @{ SL::DB::Manager::Part->get_all(where => [id => \@ids]) };
|
|
96 | 96 |
|
97 | 97 |
|
98 | 98 |
my $table_head = html_tag('tr', |
Auch abrufbar als: Unified diff
falscher parameter aufruf bei get_all