mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Fixes #984 - signup shortcode wrapper issue.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,8 +3,8 @@
|
|||||||
.project
|
.project
|
||||||
.htaccess
|
.htaccess
|
||||||
e107_config.php
|
e107_config.php
|
||||||
|
e107_config_*.php
|
||||||
e107_media/*
|
e107_media/*
|
||||||
e107_system/*
|
e107_system/*
|
||||||
e107_config.php
|
|
||||||
/.settings
|
/.settings
|
||||||
e107_core/override
|
e107_core/override
|
||||||
|
@@ -120,8 +120,8 @@ class theme_shortcodes extends e_shortcode
|
|||||||
if(!empty($userReg)) // value of 1 or 2 = login okay.
|
if(!empty($userReg)) // value of 1 or 2 = login okay.
|
||||||
{
|
{
|
||||||
|
|
||||||
global $sc_style;
|
// global $sc_style; // never use global - will impact signup/usersettings pages.
|
||||||
$sc_style = array(); // remove an wrappers.
|
// $sc_style = array(); // remove any wrappers.
|
||||||
|
|
||||||
$text .='
|
$text .='
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user