We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5733a82 commit c59c835Copy full SHA for c59c835
src/Templates/Includes/header.inc.phtml
@@ -193,7 +193,7 @@ function _header_nav_html($nav)
193
if (!Authentication::$user)
194
{
195
_line('<a class="btn btn-sm btn-outline-secondary my-2 my-lg-0" tabindex="-2" href="%s">Log in</a>', UrlFormatter::format('/user/login'));
196
- if (Config::get('bnetdocs.user_register_disabled'))
+ if (!Config::get('bnetdocs.user_register_disabled'))
197
198
_line('<a class="btn btn-sm btn-outline-success my-2 my-lg-0 ml-2" tabindex="-1" href="%s">Register</a>', UrlFormatter::format('/user/register'));
199
}
0 commit comments