summaryrefslogtreecommitdiff
path: root/system/helpers/request.php
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2010-12-09 18:31:01 +0200
committermamouneyya <mamoun.diraneyya@gmail.com>2010-12-09 18:31:01 +0200
commit3e2610ea83c60805d5e727df6509da6c49fd6c7b (patch)
tree28638f7a1cd2e298587f4b3960caf409f7d2d2fa /system/helpers/request.php
parent6aabab4b715ff8ac00cc667e9d0a40c9868410d8 (diff)
parentc3ef8921260db8e39b6d2a7b4708e3d19f35f8b5 (diff)
Merge remote branch 'gallery3/master'
Diffstat (limited to 'system/helpers/request.php')
-rw-r--r--system/helpers/request.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/request.php b/system/helpers/request.php
index 2cc59b20..c04a2fa2 100644
--- a/system/helpers/request.php
+++ b/system/helpers/request.php
@@ -123,6 +123,7 @@ class request_Core {
if ( ! is_array(request::$user_agent))
{
+ request::$user_agent = array();
request::$user_agent['agent'] = isset($_SERVER['HTTP_USER_AGENT']) ? trim($_SERVER['HTTP_USER_AGENT']) : '';
// Parse the user agent and extract basic information