Switch static::$parameters to $this->parameters
This commit is contained in:
@@ -129,7 +129,7 @@ class Register extends BaseModule
|
||||
|
||||
$tpl = $arr['template'];
|
||||
|
||||
$tos = new Tos(static::$parameters);
|
||||
$tos = new Tos($this->parameters);
|
||||
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$invitations' => DI::config()->get('system', 'invitation_only'),
|
||||
|
||||
Reference in New Issue
Block a user