mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 03:51:38 +01:00
Small fix for not read-only methods.
git-svn-id: http://redmine.rubyforge.org/svn/branches/swistak@1421 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -195,7 +195,7 @@ sub access_handler {
|
||||
}
|
||||
|
||||
my $method = $r->method;
|
||||
return OK unless 1 == $read_only_methods{$method};
|
||||
return OK if defined $read_only_methods{$method};
|
||||
|
||||
my $project_id = get_project_identifier($r);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user