View | Details | Raw Unified | Return to bug 31137
Collapse All | Expand All

(-)a/labels/label-edit-template.pl (-2 / +1 lines)
Lines 113-119 elsif ($op eq 'save') { Link Here
113
}
113
}
114
else {  # if we get here, this is a new layout
114
else {  # if we get here, this is a new layout
115
    $label_template = C4::Labels::Template->new();
115
    $label_template = C4::Labels::Template->new();
116
    $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { template_id => [''] } });
116
    $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => { template_id => [''], creator => 'Labels' } });
117
    push @$profile_list, {paper_bin => 'N/A', profile_id => 0, printer_name => 'No Profile'};
117
    push @$profile_list, {paper_bin => 'N/A', profile_id => 0, printer_name => 'No Profile'};
118
    foreach my $profile (@$profile_list) {
118
    foreach my $profile (@$profile_list) {
119
        if ($profile->{'profile_id'} == 0) {
119
        if ($profile->{'profile_id'} == 0) {
120
- 

Return to bug 31137