diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 51efdcdb4e..f87c09e483 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -735,7 +735,7 @@ module ApplicationHelper elsif sep == '###' oid = identifier.to_i work_package = WorkPackage.visible.find_by_id(oid, :include => :status) - if work_package && !(text == :description && obj && obj.id == work_package.id) + if work_package && obj && !(attr == :description && obj.id == work_package.id) link = work_package_quick_info_with_description(work_package) end elsif sep == ':'