Ignore:
Timestamp:
2010/11/06 20:57:45 (12 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_Display.php

    r19018 r19019  
    7979        $pattern = implode("|", $useragents); 
    8080         
    81         if(preg_match('/'.iuser.'/', $subject)) 
     81        if(preg_match('/['.$pattern.']/', $subject)) 
    8282        var pattern = new RegExp(useragents.join('|'), 'i'); 
    8383        return pattern.test(navigator.userAgent); 
Note: See TracChangeset for help on using the changeset viewer.