From: Moritz Bunkus Date: Wed, 19 Apr 2017 13:12:07 +0000 (+0200) Subject: Pflichtenhefte: Kosmetik (Anordnung) X-Git-Tag: release-3.5.4~1112 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bd12dbd61aa74b97dd3632b0d6491e47d721b733;p=kivitendo-erp.git Pflichtenhefte: Kosmetik (Anordnung) --- diff --git a/SL/Controller/RequirementSpec.pm b/SL/Controller/RequirementSpec.pm index d4ecc55b7..f8fbced8c 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -383,11 +383,11 @@ sub init_include_cvars { # sub create_or_update { - my $self = shift; - my $is_new = !$self->requirement_spec->id; + my $self = shift; + my $is_new = !$self->requirement_spec->id; my $previous_customer_id = $self->requirement_spec->customer_id; - my $params = delete($::form->{requirement_spec}) || { }; - my $cvars = delete($::form->{cvars}) || { }; + my $params = delete($::form->{requirement_spec}) || { }; + my $cvars = delete($::form->{cvars}) || { }; # Forcefully make it clear to Rose which custom_variables exist (or don't), so that the ones added with »add_custom_variables« are visible when calling »custom_variables«. if ($is_new) {