Bug 25015: (QA follow-up) Slide together

We do not need 1 or 0 here btw. We just check for true.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Marcel de Rooy 2025-04-18 09:51:30 +02:00 committed by Katrin Fischer
parent 6bfcd23bdb
commit 663830d9ed
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 4 additions and 8 deletions

View File

@ -144,14 +144,10 @@ my $display_order = $input->param('item_group_display_order');
our $frameworkcode = &GetFrameworkCode($biblionumber);
# Defining which userflag is needing according to the framework currently used
my $fast_cataloging_mode;
if ( defined $input->param('frameworkcode') ) {
$fast_cataloging_mode = ( $input->param('frameworkcode') eq 'FA' ) ? 1 : 0;
}
if ( not defined $fast_cataloging_mode ) {
$fast_cataloging_mode = ( $frameworkcode eq 'FA' ) ? 1 : 0;
}
my $fast_cataloging_mode =
defined $input->param('frameworkcode')
? $input->param('frameworkcode') eq 'FA'
: $frameworkcode eq 'FA';
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{