summaryrefslogtreecommitdiffstats
path: root/lib/redmine/plugin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/plugin.rb')
-rw-r--r--lib/redmine/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb
index c9b2c07ba..f0dbcc30d 100644
--- a/lib/redmine/plugin.rb
+++ b/lib/redmine/plugin.rb
@@ -125,7 +125,7 @@ module Redmine
# Warn for potential settings[:partial] collisions
if p.configurable?
partial = p.settings[:partial]
- if @used_partials[partial]
+ if @used_partials[partial] && @used_partials[partial] != p.id
Rails.logger.warn(
"WARNING: settings partial '#{partial}' is declared in '#{p.id}' plugin " \
"but it is already used by plugin '#{@used_partials[partial]}'. " \