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
This commit is contained in:
Jean-Philippe Lang 2009-04-24 15:54:48 +00:00
parent ac6ecdb360
commit 6385217be0
1 changed files with 1 additions and 1 deletions

View File

@ -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)