From c720367b1964146f4bd77348e19a22503440a8fc Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Mon, 15 Jul 2013 17:51:53 +0200 Subject: [PATCH] CustomerVendor: Redirect gefixt --- SL/Controller/CustomerVendor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index b8672f14d..e22677556 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -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 { -- 2.20.1