]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Inventory.pm
Module: weitere Anpassungen für Exception::Lite → Exception::Class
[mfinanz.git] / SL / Controller / Inventory.pm
index bd57d7849b383f286822e24cbc2d1f12d281ebc1..f20f6aee8d5de286f2d7faf777ae763f1464700b 100644 (file)
@@ -416,7 +416,7 @@ sub action_stock {
           comment       => $::form->{comment},
         });
         1;
-      } or do { $transfer_error = $EVAL_ERROR->getMessage; }
+      } or do { $transfer_error = $EVAL_ERROR->error; }
     });
 
     if (!$transfer_error) {
@@ -567,7 +567,7 @@ sub action_save_stocktaking {
         stocktaking_cutoff_date => $::form->{cutoff_date_as_date},
       });
       1;
-    } or do { $transfer_error = $EVAL_ERROR->getMessage; }
+    } or do { $transfer_error = $EVAL_ERROR->error; }
   });
 
   return $self->js->flash('error', $transfer_error)->render()