diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-10 16:36:02 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-10 16:36:02 +0200 |
commit | 2c547df7b9fcea7b3551d7b702c3ea6fb412cb05 (patch) | |
tree | 42b9e5f720de7c8e07a642ca812be8a28ab1c807 /system/libraries | |
parent | fcb8c9ebe9aa6725ed8a899a1db0c2728974a86f (diff) |
Fixed #378 Robots identified as regular browsers by the User Agent class.
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/User_agent.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php index 016102a2a..0b77a7d42 100644 --- a/system/libraries/User_agent.php +++ b/system/libraries/User_agent.php @@ -142,7 +142,7 @@ class CI_User_agent { { $this->_set_platform(); - foreach (array('_set_browser', '_set_robot', '_set_mobile') as $function) + foreach (array('_set_robot', '_set_browser', '_set_mobile') as $function) { if ($this->$function() === TRUE) { |