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

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

Return to bug 7673