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:
parent
ac6ecdb360
commit
6385217be0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue