Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 50a6450f

Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt

Inventory: Fehlermeldung gefixt

Unterschiede anzeigen:

SL/Helper/Inventory.pm
152 152
sub allocate {
153 153
  my (%params) = @_;
154 154

  
155
  croak('allocate needs a qty') unless $params{part};
156
  croak('allocate needs a qty') unless $params{qty};
155
  croak('allocate needs a part') unless $params{part};
156
  croak('allocate needs a qty')  unless $params{qty};
157 157

  
158 158
  my $part = $params{part};
159 159
  my $qty  = $params{qty};

Auch abrufbar als: Unified diff