mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
was meant to strpos
This commit is contained in:
@@ -602,7 +602,7 @@ function deleteHash($hash)
|
||||
*/
|
||||
function isIPInRange( $ip, $range ) {
|
||||
|
||||
if(substr(',',$range)!==false)
|
||||
if(strpos($range,',')!==false)
|
||||
{
|
||||
// we got a list of ranges. splitting
|
||||
$ranges = array_map('trim',explode(',',$range));
|
||||
|
||||
Reference in New Issue
Block a user