summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiwiusz Ociepa <liwiusz.ociepa@softwarelab.eu>2008-05-07 09:22:50 +0000
committerLiwiusz Ociepa <liwiusz.ociepa@softwarelab.eu>2008-05-07 09:22:50 +0000
commit8bcbbebf65feef1cf3216fe88ab314a82dcc54e3 (patch)
treec4bde390fd2a7dacda3e81d6fd9025d74e271874
parent2d2afab5491bbcf3e021d9307529c845cf702323 (diff)
downloadredmine-8bcbbebf65feef1cf3216fe88ab314a82dcc54e3.tar.gz
redmine-8bcbbebf65feef1cf3216fe88ab314a82dcc54e3.zip
Small fix for not read-only methods.
git-svn-id: http://redmine.rubyforge.org/svn/branches/swistak@1421 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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);