New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse_bbc Undefined index: browser #5016
Comments
Yay for adding legacy BBC..... still cannot understand why people want those tags so badly.......... At this point, the is_ie thing should be completely erased, unless of course people starts to complaining about not supporting IE 6 in order to view their precious move and blink BB codes............. |
ther are many placed where this check is placed, |
Or set every browser context related vars to null or false or any other falsy value when running in cli mode. |
Feel free to choose your way how to solve this. |
The easiest fix would be to use |
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
Description
When parse_bbc is called by cronjob the $context['browser']['is_ie'] is not setted.
https://www.simplemachines.org/community/index.php?topic=562323.0
i guess
Steps to reproduce
Environment (complete as necessary)
Additional information/references
stacktrace
https://github.com/SimpleMachines/SMF2.1/blob/8aafc85d03b52eb6780a5ff9ac61d4f7aad9d987/Sources/Subs.php#L1742
Possible introduce by @MissAllSunday
with pr 5fdfd87
The text was updated successfully, but these errors were encountered: