diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt
index f92069a124..bc316d9390 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt
@@ -96,7 +96,7 @@
[% FOREACH text_field IN table_loo.text_fields %]
[% IF ( text_field.select_field ) %]
- Edit
+ Edit
[% IF ( print ) %]
Export
[% END %]
diff --git a/patroncards/edit-layout.pl b/patroncards/edit-layout.pl
index 544ee4421e..2bc9d1ea9b 100755
--- a/patroncards/edit-layout.pl
+++ b/patroncards/edit-layout.pl
@@ -80,7 +80,7 @@ sub _set_selected {
return \@select_list;
}
-if ($op eq 'cud-edit') {
+if ($op eq 'edit_form') {
warn sprintf("Error performing '%s': No 'layout_id' passed in.", $op) unless ($layout_id);
$layout = C4::Patroncards::Layout->retrieve(layout_id => $layout_id);
$layout_xml = XMLin($layout->get_attr('layout_xml'), ForceArray => 1);
diff --git a/patroncards/edit-profile.pl b/patroncards/edit-profile.pl
index 49dd334bf6..a41529c1b4 100755
--- a/patroncards/edit-profile.pl
+++ b/patroncards/edit-profile.pl
@@ -45,7 +45,7 @@ my @label_template = ();
my $units = get_unit_values();
-if ($op eq 'cud-edit') { # FIXME This looks like edit_form ?
+if ($op eq 'edit_form') { # FIXME This looks like edit_form ?
$profile = C4::Patroncards::Profile->retrieve(profile_id => $profile_id);
$template_list = get_all_templates({ fields => [ qw( template_id template_code profile_id ) ] });
}
diff --git a/patroncards/edit-template.pl b/patroncards/edit-template.pl
index dacb4f3366..76901412d7 100755
--- a/patroncards/edit-template.pl
+++ b/patroncards/edit-template.pl
@@ -45,7 +45,7 @@ my $profile_list = undef;
my $units = get_unit_values();
-if ($op eq 'cud-edit') { # FIXME This looks like edit_form
+if ($op eq 'edit_form') { # FIXME This looks like edit_form
$card_template = C4::Patroncards::Template->retrieve(template_id => $template_id);
$profile_list = get_all_profiles({ fields => [ qw( profile_id printer_name paper_bin ) ], filters => {template_id => [ $template_id, 0 ], creator => 'Patroncards'} } );
}
|