From: Liwiusz Ociepa Date: Wed, 7 May 2008 09:22:50 +0000 (+0000) Subject: Small fix for not read-only methods. X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8bcbbebf65feef1cf3216fe88ab314a82dcc54e3;p=redmine.git Small fix for not read-only methods. git-svn-id: http://redmine.rubyforge.org/svn/branches/swistak@1421 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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);