diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-24 15:54:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-24 15:54:48 +0000 |
commit | 6385217be04b2468f25e12700a39a3c6c6f0f832 (patch) | |
tree | 3d0db4d5bd7e3a0bf9181a4a74114f1403815095 /app | |
parent | ac6ecdb360aa30fdbec7b79dbdcf651f7d5328c6 (diff) | |
download | redmine-6385217be04b2468f25e12700a39a3c6c6f0f832.tar.gz redmine-6385217be04b2468f25e12700a39a3c6c6f0f832.zip |
Prevent recursive calls to RepositoriesHelper#repository_field_tags (#3226).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2680 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/repositories_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index d41977d29..3555895bc 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -121,7 +121,7 @@ module RepositoriesHelper def repository_field_tags(form, repository) method = repository.class.name.demodulize.underscore + "_field_tags" - send(method, form, repository) if repository.is_a?(Repository) && respond_to?(method) + send(method, form, repository) if repository.is_a?(Repository) && respond_to?(method) && method != 'repository_field_tags' end def scm_select_tag(repository) |