mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Fix for shortcode format {SIGNUP_PASSWORD1} using new ':' separator.
This commit is contained in:
@@ -857,7 +857,7 @@ class e_parse_shortcode
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(preg_match('/^([A-Z_]*):(.*)/', $matches[1], $newMatch))
|
if(preg_match('/^([A-Z_]*\d?):(.*)/', $matches[1], $newMatch))
|
||||||
{
|
{
|
||||||
$fullShortcodeKey = $newMatch[0];
|
$fullShortcodeKey = $newMatch[0];
|
||||||
$code = $newMatch[1];
|
$code = $newMatch[1];
|
||||||
|
Reference in New Issue
Block a user