Revision bd12dbd6
Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt
SL/Controller/RequirementSpec.pm | ||
---|---|---|
383 | 383 |
# |
384 | 384 |
|
385 | 385 |
sub create_or_update { |
386 |
my $self = shift; |
|
387 |
my $is_new = !$self->requirement_spec->id; |
|
386 |
my $self = shift;
|
|
387 |
my $is_new = !$self->requirement_spec->id;
|
|
388 | 388 |
my $previous_customer_id = $self->requirement_spec->customer_id; |
389 |
my $params = delete($::form->{requirement_spec}) || { }; |
|
390 |
my $cvars = delete($::form->{cvars}) || { }; |
|
389 |
my $params = delete($::form->{requirement_spec}) || { };
|
|
390 |
my $cvars = delete($::form->{cvars}) || { };
|
|
391 | 391 |
|
392 | 392 |
# 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«. |
393 | 393 |
if ($is_new) { |
Auch abrufbar als: Unified diff
Pflichtenhefte: Kosmetik (Anordnung)