DragonByte Tech
Well-known member
- Affected version
- 2.0.7
PHP:
/**
* @return Finder
*/
public function findValidUsers()
{
return $this->finder('XF:User')->isValidUser();
}
Is missing the
$recentlyActive
flag, meaning you cannot use this function if you need to set the flag. It should be changed like so:
PHP:
/**
* @param bool $recentlyActive
*
* @return Finder
*/
public function findValidUsers($recentlyActive = false)
{
return $this->finder('XF:User')->isValidUser($recentlyActive);
}
Fillip