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

(-)a/patroncards/edit-profile.pl (-2 / +3 lines)
Lines 88-94 foreach my $unit (@$units) { Link Here
88
    }
88
    }
89
}
89
}
90
90
91
$template->param(profile_id => $profile->get_attr('profile_id')) if $profile->get_attr('profile_id') > 0;
91
if ($profile_id) { # if new layout, there will be no profile id, so shouldn't look for it
92
    $template->param(profile_id => $profile->get_attr('profile_id')) if $profile->get_attr('profile_id') > 0;
93
}
92
94
93
$template->param(
95
$template->param(
94
    label_template      => $label_template[0]->{'template_code'} || '',
96
    label_template      => $label_template[0]->{'template_code'} || '',
95
- 

Return to bug 15415