View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004999SMF 2.1Core Featurepublic2012-08-06 08:472012-08-23 14:01
PlatformOSOS Version
Summary0004999: $context['browser'] array not correct filled
Descriptiontry a code like:
if($context['browser']['is_ie'] || $context['browser']['is_opera'])
returns error if a other browser used.
The $context['browser'] array holds ONLY the detected browser.
Strong incompatibility with SMF 2.0x
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
Spuds (SMF Friend)
2012-08-23 14:00

commit 6d0d9a8bd82209a925048151dadb6bb49eb595b4 ... add in a few missing keys to the historical browser array for compatability

Note that going forward its best to use isBrowser('???') and not depend on the older $context['browser'][] array
MantisBT (Modified for SMF Intergration)[^] Copyright © 2000 - 2010 Mantis Group