CustomerVendor: Redirect gefixt
authorThomas Heck <theck@linet-services.de>
Mon, 15 Jul 2013 15:51:53 +0000 (17:51 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 18 Jul 2013 07:09:05 +0000 (09:09 +0200)
SL/Controller/CustomerVendor.pm

index b8672f1..e226775 100644 (file)
@@ -146,7 +146,7 @@ sub action_save {
 
   $self->_save();
 
-  $self->redirect_to(action => 'edit', id => $self->{cv}->id);
+  $self->redirect_to(action => 'edit', id => $self->{cv}->id, db => $self->is_vendor() ? 'vendor' : 'customer');
 }
 
 sub action_save_and_close {