From b9aa30eeeb79b06a464ec2b89a05a8d846281eb5 Mon Sep 17 00:00:00 2001 From: starswan Date: Fri, 10 Jan 2025 09:05:45 +0000 Subject: [PATCH] linter --- app/helpers/pdf_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/pdf_helper.rb b/app/helpers/pdf_helper.rb index a544b14777..b13a11a0ce 100644 --- a/app/helpers/pdf_helper.rb +++ b/app/helpers/pdf_helper.rb @@ -107,7 +107,7 @@ def add_secondary_qualification_details(pdf, qualification) secondary_qualification_data = [ ["Subject:", result.subject], ["Grade:", result.grade], - (["Awarding Body:", result.awarding_body] unless result.awarding_body.blank?), + (["Awarding Body:", result.awarding_body] if result.awarding_body.present?), ["Year Awarded:", qualification.year], ].compact render_table(pdf, secondary_qualification_data)