Bug 5462: more dash fixing for variable names within scripts

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
This commit is contained in:
Christopher Hall 2010-11-16 15:42:25 +13:00 committed by Colin Campbell
parent f03000f50f
commit 236ba72ef6

View file

@ -76,15 +76,15 @@ if ($op eq 'add_form') {
}
if ($id) {
$template->param(action_modify => 1);
$template->param('heading-modify-authorized-value-p' => 1);
$template->param('heading_modify_authorized_value_p' => 1);
} elsif ( ! $data->{'category'} ) {
$template->param(action_add_category => 1);
$template->param('heading-add-new-category-p' => 1);
$template->param('heading_add_new_category_p' => 1);
} else {
$template->param(action_add_value => 1);
$template->param('heading-add-authorized-value-p' => 1);
$template->param('heading_add_authorized_value_p' => 1);
}
$template->param('use-heading-flags-p' => 1);
$template->param('use_heading_flags_p' => 1);
$template->param( category => $data->{'category'},
authorised_value => $data->{'authorised_value'},
lib => $data->{'lib'},