Lines 454-459
sub ShelfPossibleAction {
Link Here
|
454 |
$action= 'view' unless $action; |
454 |
$action= 'view' unless $action; |
455 |
$user=0 unless $user; |
455 |
$user=0 unless $user; |
456 |
|
456 |
|
|
|
457 |
return 1 if C4::Context::IsSuperLibrarian; |
458 |
|
457 |
if($action =~ /^new/) { #no shelfnumber needed |
459 |
if($action =~ /^new/) { #no shelfnumber needed |
458 |
if($action eq 'new_private') { |
460 |
if($action eq 'new_private') { |
459 |
return $user>0; |
461 |
return $user>0; |
460 |
- |
|
|