From 8bcbbebf65feef1cf3216fe88ab314a82dcc54e3 Mon Sep 17 00:00:00 2001 From: Liwiusz Ociepa Date: Wed, 7 May 2008 09:22:50 +0000 Subject: [PATCH] Small fix for not read-only methods. git-svn-id: http://redmine.rubyforge.org/svn/branches/swistak@1421 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- extra/svn/Redmine.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5