summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/svn/Redmine.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm
index 7c02f7e77..0087c138e 100644
--- a/extra/svn/Redmine.pm
+++ b/extra/svn/Redmine.pm
@@ -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);