WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: PHP Browser Detection] Missing bracket on line 156 (3 posts)

  1. JohnnyPea
    Member
    Posted 4 years ago #

    It should look like this:
    if(isset($browserInfo['browser']) == 'iPhone' )

    http://wordpress.org/extend/plugins/php-browser-detection/

    BUT it is still not working anyway I get "fatal error" notice with no reason in it.

  2. catnip216
    Member
    Posted 4 years ago #

    Actually, it should look like this (I think), which I got from looking at the other if statements in that area:
    if(isset($browserInfo['browser']) && $browserInfo['browser']=='iPhone')

    Then it works. :-)

    No biggie. It was just posted today; I'm sure this was just an oversight & will probably be fixed shortly. I'll try contacting the author.

  3. MartyThornley
    Member
    Posted 4 years ago #

    Hey Guys,

    Will fix asap. Sorry for the oversight :(

    It seemed fine on my local install.

    Marty

Topic Closed

This topic has been closed to new replies.

About this Topic