• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed [quote] in XenForo_Importer_XenForo

#1
Had no issues, just stumbled on this piece of code accidentally.
I'm quite sure that

Code:
            if (preg_match_all('/\[quote=("|\'|)(?P<username>[^,]*),post:\s*(?P<post_id>\d+)\s*,\s*member:\s*(?P<user_id>\d+)\s*\1\]/siU', $post['message'], $quotes, PREG_SET_ORDER))
should be

Code:
            if (preg_match_all('/\[quote=("|\'|)(?P<username>[^,]*)\s*,\s*post:\s*(?P<post_id>\d+)\s*,\s*member:\s*(?P<user_id>\d+)\s*\1\]/siU', $post['message'], $quotes, PREG_SET_ORDER))