Index: /modules/branches/2.1/findmefollow/functions.inc.php =================================================================== --- /modules/branches/2.1/findmefollow/functions.inc.php (revision 1769) +++ /modules/branches/2.1/findmefollow/functions.inc.php (revision 1801) @@ -111,8 +111,10 @@ $results = null; } - foreach($results as $result){ - if (checkRange($result)){ - $grps[] = $result; - } + if (isset($results)) { + foreach($results as $result) { + if (checkRange($result)){ + $grps[] = $result; + } + } } if (isset($grps)) {