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

(-)a/cataloguing/additem.pl (-1 / +2 lines)
Lines 373-378 my $uid = $loggedinuser ? GetMember( borrowernumber => $loggedinuser )->{userid} Link Here
373
my $limitededition = $uid ? haspermission($uid,  {'editcatalogue' => 'limited_item_edition'}) : undef;
373
my $limitededition = $uid ? haspermission($uid,  {'editcatalogue' => 'limited_item_edition'}) : undef;
374
# In case user is a superlibrarian, edition is not limited
374
# In case user is a superlibrarian, edition is not limited
375
$limitededition = 0 if ($limitededition != 0 && $limitededition->{'superlibrarian'} eq 1);
375
$limitededition = 0 if ($limitededition != 0 && $limitededition->{'superlibrarian'} eq 1);
376
# In case user has fast cataloging permission (and we're in fast cataloging), edition is not limited
377
$limitededition = 0 if ($limitededition != 0 && $frameworkcode eq 'FA' && haspermission($uid, {'editcatalogue' => 'fast_cataloging'}));
376
378
377
my $today_iso = C4::Dates->today('iso');
379
my $today_iso = C4::Dates->today('iso');
378
my $tagslib = &GetMarcStructure(1,$frameworkcode);
380
my $tagslib = &GetMarcStructure(1,$frameworkcode);
379
- 

Return to bug 7673