Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit aecc9eb

Browse files
authored
Merge pull request #5420 from magento/db_bannerfix
Version banner fix
2 parents 59571c1 + 30302e8 commit aecc9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/layout/page-header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- page-header -->
22
<section class="page-intro">
3-
{% if page.guide_version != site.version %}
3+
{% if page.guide_version != nil and page.guide_version != site.version %}
44
<div class="message-banner version-banner">
55
You are reading the documentation for version {{page.guide_version}}. Magento {{site.version}} is the latest version available.
66
Ensure you are reading the documentation for your version of Magento.

0 commit comments

Comments
 (0)