1. 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

Discussion in 'Resolved Bug Reports' started by Staccato, Sep 20, 2015.

  1. Staccato

    Staccato Member

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

                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

                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))
  2. Mike

    Mike XenForo Developer Staff Member

    I've changed this, thanks.

Share This Page