Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 66ac2e99

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

  • ID 66ac2e99e04696a3088ed14c353041e3f1da6d75
  • Vorgänger 25729efe
  • Nachfolger 6446d674

ShippedQty: Auch bei short circuit chainen

Unterschiede anzeigen:

SL/Helper/ShippedQty.pm
die 'Need exactly one argument, either id, object or arrayref of ids or objects.' unless 2 == @_;
return if !$data || ('ARRAY' eq ref $data && !@$data);
return $self if !$data || ('ARRAY' eq ref $data && !@$data);
$self->normalize_input($data);
return unless @{ $self->oe_ids };
return $self unless @{ $self->oe_ids };
$self->calculate_item_links;
$self->calculate_fill_up if $self->fill_up;

Auch abrufbar als: Unified diff