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