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

(-)a/labels/label-print.pl (-3 / +2 lines)
Lines 112-119 elsif ($op eq 'none') { Link Here
112
    # setup select menus for selecting layout and template for this run...
112
    # setup select menus for selecting layout and template for this run...
113
    $referer = $ENV{'HTTP_REFERER'};
113
    $referer = $ENV{'HTTP_REFERER'};
114
    $referer =~ s/^.*?:\/\/.*?(\/.*)$/$1/m;
114
    $referer =~ s/^.*?:\/\/.*?(\/.*)$/$1/m;
115
    @batch_ids = grep{$_ = {batch_id => $_}} @batch_ids;
115
    @batch_ids = map{{batch_id => $_}} @batch_ids;
116
    @label_ids = grep{$_ = {label_id => $_}} @label_ids;
116
    @label_ids = map{{label_id => $_}} @label_ids;
117
    @item_numbers = grep{my $number=$_; $number = {item_number => $number}} @item_numbers;
117
    @item_numbers = grep{my $number=$_; $number = {item_number => $number}} @item_numbers;
118
    $templates = get_all_templates(field_list => 'template_id, template_code', filter => 'creator = "Labels"');
118
    $templates = get_all_templates(field_list => 'template_id, template_code', filter => 'creator = "Labels"');
119
    $layouts = get_all_layouts(field_list => 'layout_id, layout_name', filter => 'creator = "Labels"');
119
    $layouts = get_all_layouts(field_list => 'layout_id, layout_name', filter => 'creator = "Labels"');
120
- 

Return to bug 6679