Revision 896ef9aa
Von Sven Schöling vor fast 11 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
749 | 749 |
%projects_by_id = map { $_->id => $_ } @$projects; |
750 | 750 |
} |
751 | 751 |
|
752 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
753 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
754 |
|
|
755 | 752 |
if ($projects_by_id{$form->{"globalproject_id"}}) { |
753 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
754 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
755 |
|
|
756 | 756 |
for (@{ $projects_by_id{$form->{"globalproject_id"}}->cvars_by_config }) { |
757 | 757 |
$form->{"project_cvar_" . $_->config->name} = $_->value_as_text; |
758 | 758 |
} |
SL/IS.pm | ||
---|---|---|
99 | 99 |
%projects_by_id = map { $_->id => $_ } @$projects; |
100 | 100 |
} |
101 | 101 |
|
102 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
103 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
104 |
|
|
105 | 102 |
if ($projects_by_id{$form->{"globalproject_id"}}) { |
103 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
104 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
105 |
|
|
106 | 106 |
for (@{ $projects_by_id{$form->{"globalproject_id"}}->cvars_by_config }) { |
107 | 107 |
$form->{"project_cvar_" . $_->config->name} = $_->value_as_text; |
108 | 108 |
} |
SL/OE.pm | ||
---|---|---|
1070 | 1070 |
%projects_by_id = map { $_->id => $_ } @$projects; |
1071 | 1071 |
} |
1072 | 1072 |
|
1073 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
1074 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
1075 |
|
|
1076 | 1073 |
if ($projects_by_id{$form->{"globalproject_id"}}) { |
1074 |
$form->{globalprojectnumber} = $projects_by_id{$form->{"globalproject_id"}}->projectnumber; |
|
1075 |
$form->{globalprojectdescription} = $projects_by_id{$form->{"globalproject_id"}}->description; |
|
1076 |
|
|
1077 | 1077 |
for (@{ $projects_by_id{$form->{"globalproject_id"}}->cvars_by_config }) { |
1078 | 1078 |
$form->{"project_cvar_" . $_->config->name} = $_->value_as_text; |
1079 | 1079 |
} |
Auch abrufbar als: Unified diff
Bei Belegdruck nicht unkonditional auf Projekte zugreifen
behebt #2237 (wieder)