Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7bbfa415

Von Bernd Bleßmann vor etwa 1 Monat hinzugefügt

Inventur: Beim Speichern auch Fehler anzeigen, die nicht SL::X::FormError sind

Unterschiede anzeigen:

SL/Controller/Inventory.pm
574 574
        stocktaking_cutoff_date => $::form->{cutoff_date_as_date},
575 575
      });
576 576
      1;
577
    } or do { $transfer_error = $EVAL_ERROR->error; }
577
    } or do { $transfer_error = ref($EVAL_ERROR) eq 'SL::X::FormError' ? $EVAL_ERROR->error : $EVAL_ERROR; }
578 578
  });
579 579

  
580 580
  return $self->js->flash('error', $transfer_error)->render()

Auch abrufbar als: Unified diff