Skip to content

Commit

Permalink
Browser check: fix incorrect logical operator
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Jun 24, 2014
1 parent 978da44 commit 823e817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser_check.php
Expand Up @@ -51,7 +51,7 @@ function getBrowser() {
} else {
# see how many we have
$i = count( $matches['browser'] );
if( $i >= 1 ) {
if( $i > 1 ) {
# we will have two since we are not using 'other' argument yet
# see if version is before or after the name
if( strrpos( $u_agent, 'version' ) < strrpos( $u_agent, $ub ) ) {
Expand Down

0 comments on commit 823e817

Please sign in to comment.