From f26113ecd83ab3b38a9b33b80911e4d8f482c92c Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 5 Jan 2018 15:32:25 -0500 Subject: [PATCH] Show sign-up botton only when allow_registration setting is false - refs BT#13838 --- main/template/default/session/about.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/template/default/session/about.tpl b/main/template/default/session/about.tpl index 2e88987a85..a98023b229 100644 --- a/main/template/default/session/about.tpl +++ b/main/template/default/session/about.tpl @@ -239,7 +239,7 @@ {% if _u.logged and not is_subscribed %} {{ subscribe_button }} {% elseif not _u.logged %} - {% if 'allow_registration'|api_get_setting == 'true' %} + {% if 'allow_registration'|api_get_setting != 'false' %} {{ 'SignUp'|get_lang }}