Fixed  canBypassUserPrivacy call

  • Thread starter Thread starter Syndol
  • Start date Start date
S

Syndol

Guest
In the user model (Model/User.php) line 2003:
PHP:
if ($this->canBypassUserPrivacy($viewingUser))
{
    return true;
}

should be

PHP:
if ($this->canBypassUserPrivacy($null, $viewingUser))
{
    return true;
}

as the function being called is

PHP:
canBypassUserPrivacy(&$errorPhraseKey = '', array $viewingUser = null)

line 1878 of same file

Took me many hours to track this one down :cry:
 
Top Bottom