From 5fdf8353c8ea2f04a5bfe6e49bb1cb7776ff7186 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