View | Details | Raw Unified | Return to bug 38076
Collapse All | Expand All

(-)a/cataloguing/addbiblio.pl (-6 / +4 lines)
Lines 515-528 my $fa_branch = $input->param('branch'); Link Here
515
my $fa_stickyduedate      = $input->param('stickyduedate');
515
my $fa_stickyduedate      = $input->param('stickyduedate');
516
my $fa_duedatespec        = $input->param('duedatespec');
516
my $fa_duedatespec        = $input->param('duedatespec');
517
517
518
my $userflags = 'edit_catalogue';
519
520
$frameworkcode = &GetFrameworkCode($biblionumber)
518
$frameworkcode = &GetFrameworkCode($biblionumber)
521
  if ( $biblionumber and not( defined $frameworkcode) and $op ne 'cud-addbiblio' );
519
  if ( $biblionumber and not( defined $frameworkcode) and $op ne 'cud-addbiblio' );
522
520
523
if ($frameworkcode eq 'FA'){
521
my $userflags =
524
    $userflags = 'fast_cataloging';
522
    $frameworkcode eq 'FA'
525
}
523
    ? [ 'fast_cataloging', 'edit_catalogue' ]
524
    : 'edit_catalogue';
526
525
527
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
526
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
528
    {
527
    {
529
- 

Return to bug 38076