Fix PHP notice errors in Browser check

Fixes http://www.mantisbt.org/bugs/view.php?id=16950