From 8c736e21898a3bf0b67472095f397517cab16f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20=C2=ABtigerman=C2=BB=20Bekrenyov?= Date: Fri, 27 Sep 2013 11:17:56 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=80=D0=B5=D0=B4=D0=B8=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D1=80=D0=B5=D0=B3=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20|=20#349?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/skin/developer/forms/form.auth.signup.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/frontend/skin/developer/forms/form.auth.signup.tpl b/application/frontend/skin/developer/forms/form.auth.signup.tpl index bee27683..3609d33b 100644 --- a/application/frontend/skin/developer/forms/form.auth.signup.tpl +++ b/application/frontend/skin/developer/forms/form.auth.signup.tpl @@ -43,7 +43,9 @@ {hook run='form_registration_end' isPopup=$isModal} - {include file='forms/form.field.hidden.tpl' sFieldName='return-path' value=$PATH_WEB_CURRENT} + {if $isModal} + {include file='forms/form.field.hidden.tpl' sFieldName='return-path' sFieldValue=$PATH_WEB_CURRENT} + {/if} {include file='forms/form.field.button.tpl' sFieldName='submit_register' sFieldStyle='primary' sFieldText=$aLang.registration_submit}