diff options
author | Liwiusz Ociepa <liwiusz.ociepa@softwarelab.eu> | 2008-05-07 09:22:50 +0000 |
---|---|---|
committer | Liwiusz Ociepa <liwiusz.ociepa@softwarelab.eu> | 2008-05-07 09:22:50 +0000 |
commit | 8bcbbebf65feef1cf3216fe88ab314a82dcc54e3 (patch) | |
tree | c4bde390fd2a7dacda3e81d6fd9025d74e271874 | |
parent | 2d2afab5491bbcf3e021d9307529c845cf702323 (diff) | |
download | redmine-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.pm | 2 |
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); |