Bug 16223: (QA follow-up) Add filter, remove superfluous condition
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8d2bb62d3c
commit
ad29aae5c3
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ if ( $op eq 'add_form') {
|
|||
display_text => $display_text,
|
||||
}
|
||||
);
|
||||
if ($dupe->count && $dupe->unblessed->{code} ne $code) {
|
||||
if ( $dupe->count ) {
|
||||
push @messages, {
|
||||
type => 'error', code => 'duplicate_display_text'
|
||||
};
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
[% IF restriction.lift_after_payment %]Yes[% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% IF restriction.fee_limit %][% restriction.fee_limit %][% END %]
|
||||
[% IF restriction.fee_limit %][% restriction.fee_limit | html %][% END %]
|
||||
</td>
|
||||
<td class="actions">
|
||||
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/restrictions.pl?op=add_form&code=[% restriction.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
|
||||
|
|
Loading…
Reference in a new issue