Skip to content

Commit

Permalink
Add unnecessary brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Jan 13, 2017
1 parent d02c1ff commit f442f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _protected/framework/Ip/Ip.class.php
Expand Up @@ -63,6 +63,6 @@ public static function api($sIp = null)
*/
public static function isPrivate($sIp)
{
return (filter_var($sIp, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6 | FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) ? false : true;
return filter_var($sIp, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6 | FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) ? false : true;
}
}

0 comments on commit f442f18

Please sign in to comment.