class Contacts extends BaseModule
{
- public function content(): string
+ protected function content(array $request = []): string
{
$app = DI::app();
throw new HTTPException\ForbiddenException();
}
- $cid = static::$parameters['id'];
- $type = static::$parameters['type'] ?? 'all';
+ $cid = $this->parameters['id'];
+ $type = $this->parameters['type'] ?? 'all';
$accounttype = $_GET['accounttype'] ?? '';
$accounttypeid = User::getAccountTypeByString($accounttype);