From: Moritz Bunkus Date: Wed, 6 Apr 2016 12:26:17 +0000 (+0200) Subject: CVar: Shipto-CVars beim Clonen mit clonen X-Git-Tag: release-3.4.1~238 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=86bc3cfad9b7f7b3682277a19ec5a7aa3fbd8d93;p=kivitendo-erp.git CVar: Shipto-CVars beim Clonen mit clonen --- diff --git a/SL/DB/Shipto.pm b/SL/DB/Shipto.pm index a0580e37f..99a4036a9 100644 --- a/SL/DB/Shipto.pm +++ b/SL/DB/Shipto.pm @@ -60,7 +60,8 @@ sub clone { grep { !m{^ (?: itime | mtime | shipto_id | trans_id ) $}x } map { $_->name } @{ $self->meta->columns }), - module => $module, + module => $module, + custom_variables => [ map { $_->clone_and_reset } @{ $self->custom_variables } ], ); return $new_shipto;