diff --git a/lib/open_project/backlogs/engine.rb b/lib/open_project/backlogs/engine.rb index ec28cd0de4..cf12d22794 100644 --- a/lib/open_project/backlogs/engine.rb +++ b/lib/open_project/backlogs/engine.rb @@ -108,7 +108,7 @@ module OpenProject::Backlogs caption: :project_module_backlogs, before: :calendar, param: :project_id, - if: proc { notUser.current.respond_to?(:impaired?) and User.current.impaired? }, + if: proc { not(User.current.respond_to?(:impaired?) and User.current.impaired?) }, html: { class: 'icon2 icon-backlogs-icon' } end