Events Made Easy Forums Bug fixed or feature request implemented #_LOCATIONPAGEURL not getting matched

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42180
    Anonymous
    Inactive

    The placeholder #_LOCATIONPAGEURL is not being matched when outputting lists. #_LOCATION is being matched first in eme_replace_placeholders(), causing the #_LOCATIONPAGEURL placeholder to be overwritten before it is matched.

    Moving the preg_match() for #_LOCATIONPAGEURL before the preg_match() for #_LOCATION in eme_replace_placeholders() fixes the problem.

    #45103
    Franky
    Keymaster

    Which version are you using? In my preg_match I match “#_LOCATION$”, so it should not match “#_LOCATIONPAGEURL” …

    #45104
    Anonymous
    Inactive

    My bad. I’m using 3.2.3, just checked again on a new page and it works. I must have had a typo in my code.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top