Skip to content
Browse files

MDL-26502 check browser - fix for Symbian (backported)

  • Loading branch information...
1 parent 783cca4 commit f733078c91251a08d4ae68e9de4f8ede4390c315 @stronk7 stronk7 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -6431,12 +6431,12 @@ function check_browser_version($brand='MSIE', $version=5.5) {
break;
case 'Safari': /// Safari
- // Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SimbianOS
+ // Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SymbianOS
if (strpos($agent, 'OmniWeb')) { // Reject OmniWeb
return false;
} elseif (strpos($agent, 'Shiira')) { // Reject Shiira
return false;
- } elseif (strpos($agent, 'SimbianOS')) { // Reject SimbianOS
+ } elseif (strpos($agent, 'SymbianOS')) { // Reject SymbianOS
return false;
}
if (strpos($agent, 'iPhone') or strpos($agent, 'iPad') or strpos($agent, 'iPod')) {

0 comments on commit f733078

Please sign in to comment.
Something went wrong with that request. Please try again.