Support » Plugin: PHP Browser Detection » Small issue generating PHP Notices

  • Resolved KoZm0kNoT

    (@kozm0knot)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Small issue generating PHP Notices’ is closed to new replies.