diff --git a/lms/templates/problem.html b/lms/templates/problem.html
index b785e4aa685d..e239c32cd2e3 100644
--- a/lms/templates/problem.html
+++ b/lms/templates/problem.html
@@ -68,7 +68,8 @@
diff --git a/lms/templates/vert_module.html b/lms/templates/vert_module.html
index 0e52e3c7f426..7df5b8b5b46e 100644
--- a/lms/templates/vert_module.html
+++ b/lms/templates/vert_module.html
@@ -44,7 +44,7 @@
${unit_title}
- % else:
+ % elif vertical_banner_cta.get('link'):