1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Fix for shortcode format {SIGNUP_PASSWORD1} using new ':' separator.

This commit is contained in:
Cameron 2016-04-19 10:23:02 -07:00
parent f54772db12
commit 77ccb9859d

View File

@ -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];
$code = $newMatch[1];