(bug #3950) only show on shelf items
[koha.git] / tools / upload-file.pl
index 1c11a04..a1c3c02 100755 (executable)
@@ -38,7 +38,7 @@ use C4::UploadedFile;
 # have been created.
 
 my %cookies = fetch CGI::Cookie;
-my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { tools => 1 });
+my ($auth_status, $sessionID) = check_cookie_auth($cookies{'CGISESSID'}->value, { tools => '*' });
 if ($auth_status ne "ok") {
     $auth_status = 'denied' if $auth_status eq 'failed';
     send_reply($auth_status, "");