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

(-)a/patroncards/edit-template.pl (-2 / +1 lines)
Lines 52-58 if ($op eq 'edit') { Link Here
52
    $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => {template_id => [ $template_id, '' ]} } );
52
    $profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => {template_id => [ $template_id, '' ]} } );
53
}
53
}
54
elsif ($op eq 'save') {
54
elsif ($op eq 'save') {
55
    my @params = (      profile_id      => scalar $cgi->param('profile_id') || '',
55
    my @params = (      profile_id      => scalar $cgi->param('profile_id') || '0',
56
                        template_code   => scalar $cgi->param('template_code'),
56
                        template_code   => scalar $cgi->param('template_code'),
57
                        template_desc   => scalar $cgi->param('template_desc'),
57
                        template_desc   => scalar $cgi->param('template_desc'),
58
                        page_width      => scalar $cgi->param('page_width'),
58
                        page_width      => scalar $cgi->param('page_width'),
59
- 

Return to bug 24001