Support » Plugin: PHP Browser Detection » Suggested change to code

  • Resolved fancyfiber


    Hey there! Thanks for the recent update to the code.

    I do have a suggestion for another code change though as I ran into some issues a while back and fixed the code myself.

    I don’t recall which browsers had the issue exactly, but some browsers report back as ‘True’ and some report back as ‘1’ for the functions in the attached paste bin, so I put in an OR check for true or 1. Understanding that it shouldn’t be needed, but it wasn’t working in one or more of the browsers I was working with.

    paste bin again

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Suggested change to code’ is closed to new replies.