From 6a2f7a1146a8279118479251138f3aecaf7fb3e9 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 9 Feb 2026 09:21:42 -0500 Subject: [PATCH] initialize string link --- lib/redmine_qbo/patches/issues_controller_patch.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redmine_qbo/patches/issues_controller_patch.rb b/lib/redmine_qbo/patches/issues_controller_patch.rb index a7b4da2..eef439f 100644 --- a/lib/redmine_qbo/patches/issues_controller_patch.rb +++ b/lib/redmine_qbo/patches/issues_controller_patch.rb @@ -15,6 +15,7 @@ module RedmineQbo module Helper def watcher_link(issue, user) + link = '' link = link_to(I18n.t(:label_bill_time), bill_path( issue.id ), method: :get, class: 'icon icon-email-add') if user.admin? link << link_to(I18n.t(:label_share), share_path( issue.id ), method: :get, target: :_blank, class: 'icon icon-shared') if user.logged? link.html_safe + super