X-Git-Url: https://git.mdrn.pl/redakcja_redmine.git/blobdiff_plain/2119dcd48d7637772372f542358259b0cc384e35..refs/heads/master:/lib/issue_publication_hook.rb diff --git a/lib/issue_publication_hook.rb b/lib/issue_publication_hook.rb index 6d2101c..788a72f 100644 --- a/lib/issue_publication_hook.rb +++ b/lib/issue_publication_hook.rb @@ -21,7 +21,7 @@ class IssuesPublicationHook < Redmine::Hook::ViewListener end def is_pticket?(context) - context[:issue].tracker_id == Setting.plugin_redmine_publications[:tracker].to_i + context[:issue].project_id == Setting.plugin_redmine_publications[:project].to_i end public