]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Order.pm
Auftrags-Controller: CVars die nicht editierbar und nicht "valid" sind, behandeln …
[mfinanz.git] / SL / Controller / Order.pm
index 83938509f1f8b8a5995c6ac9cf88451eed84c686..469eb40f0d167ecf145197370bdeaf0d7cedc5bc 100644 (file)
@@ -322,6 +322,11 @@ sub _recalc {
 sub _save {
   my ($self) = @_;
 
+  # autovivify all cvars that are not in the form (cvars_by_config can do it)
+  foreach my $item (@{ $self->order->items }) {
+    $item->cvars_by_config;
+  }
+
   my $errors = [];
   my $db = $self->order->db;