Revision 896ef9aa
Von Sven Schöling vor fast 11 Jahren hinzugefügt
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 |
} |
Auch abrufbar als: Unified diff
Bei Belegdruck nicht unkonditional auf Projekte zugreifen
behebt #2237 (wieder)