From 77ccb9859d6e66fc5662cae3c6df70ea1703f188 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 19 Apr 2016 10:23:02 -0700 Subject: [PATCH] Fix for shortcode format {SIGNUP_PASSWORD1} using new ':' separator. --- e107_handlers/shortcode_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index 842e62b6a..4ee0b9c8b 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -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];