From bd12dbd61aa74b97dd3632b0d6491e47d721b733 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 19 Apr 2017 15:12:07 +0200 Subject: [PATCH] Pflichtenhefte: Kosmetik (Anordnung) --- SL/Controller/RequirementSpec.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.20.1