From df1d65e581d60e8bee470390fc6f841109205016 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 7 Apr 2011 14:38:27 +0200 Subject: [PATCH] BZ5275: enable switching back to default biblio framework --- cataloguing/addbiblio.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 038878f..80ba5c0 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( -- 1.7.1