commit | 2c547df7b9fcea7b3551d7b702c3ea6fb412cb05 | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Wed Aug 10 08:36:02 2011 -0600 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Wed Aug 10 08:36:02 2011 -0600 |
tree | 42b9e5f720de7c8e07a642ca812be8a28ab1c807 | |
parent | fcb8c9ebe9aa6725ed8a899a1db0c2728974a86f [diff] [blame] |
Fixed #378 Robots identified as regular browsers by the User Agent class.
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php index 016102a..0b77a7d 100644 --- a/system/libraries/User_agent.php +++ b/system/libraries/User_agent.php
@@ -142,7 +142,7 @@ { $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) {