From f0de62e4cc26b21f18005e25d32431c70ef78b61 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 7 Apr 2011 16:15:54 +0200 Subject: [PATCH] Bug 5275: enable switching back to default biblio framework Signed-off-by: Katrin Fischer Signed-off-by: Chris Cormack --- cataloguing/addbiblio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 4bb2012fa0..0ae7a365fb 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -838,7 +838,7 @@ my $dbh = C4::Context->dbh; my $userflags = ($frameworkcode eq 'FA') ? "fast_cataloging" : "edit_catalogue"; $frameworkcode = &GetFrameworkCode($biblionumber) - if ( $biblionumber and not($frameworkcode) ); + if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' ); $frameworkcode = '' if ( $frameworkcode eq 'Default' ); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( -- 2.39.5