Ignore:
Timestamp:
Mar 5, 2014, 6:52:59 PM (10 years ago)
Author:
Eric
Message:

Fix undefined HTTP_USER_AGENT error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/online.php

    r24543 r27561  
    247247        $ctr_same = count(explode(' ',$visit['same_previous']));
    248248       
    249         $visit['user_agent'] = substr($_SERVER['HTTP_USER_AGENT'],0,160);
     249        $visit['user_agent'] = substr($_SERVER["HTTP_USER_AGENT"],0,160);
    250250        $Vip =& $visit['IP'];
    251251        $visit['Allowed_SE'] = false;
Note: See TracChangeset for help on using the changeset viewer.