Revision 41f35af8
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
2115 | 2115 |
); |
2116 | 2116 |
} |
2117 | 2117 |
|
2118 |
my $objects_to_close = SL::DB::Manager::Order->get_all(where => [id => \@converted_from_oe_ids, quotation => 1]); |
|
2118 |
my $objects_to_close = scalar @converted_from_oe_ids |
|
2119 |
? SL::DB::Manager::Order->get_all(where => [id => \@converted_from_oe_ids, quotation => 1]) |
|
2120 |
: undef; |
|
2119 | 2121 |
|
2120 | 2122 |
my $items_to_delete = scalar @{ $self->item_ids_to_delete || [] } |
2121 | 2123 |
? SL::DB::Manager::OrderItem->get_all(where => [id => $self->item_ids_to_delete]) |
Auch abrufbar als: Unified diff
Order-Controller: Leere Liste für objects_to_close abfangen