WordPress.org

Ready to get started?Download WordPress

Forums

PHP Browser Detection
[resolved] Small issue generating PHP Notices (2 posts)

  1. KoZm0kNoT
    Member
    Posted 11 months ago #

    Hi...love your plugin with the small footprint and used it to "fix" Safari's multiple input file upload issue by not specifying "multiple" for Safari browsers only.

    Just wanted to report a small issue that generates a lot of PHP Notices for me in line 110 of php-browser-detection.php:

    PHP Notice: Undefined index: Parent

    So to keep the chatter down in my log I added the isset() to the if:

    if(isset($t['Parent']) && $t['Parent'] == $g) {

    Nothing major, something you might want to fix in an update!

    Thanks!

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

  2. Mindshare Studios, Inc.
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks! Added to the next update.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.