diff --git a/lms/templates/problem.html b/lms/templates/problem.html
index 60d27b4ff5ad..4c70bf50c019 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'):