Merge remote-tracking branch 'upstream/develop' into follow-tags

This commit is contained in:
Michael 2018-01-08 07:04:15 +00:00
commit a5536086dd
3 changed files with 25 additions and 20 deletions

View file

@ -237,15 +237,15 @@ function register_content(App $a)
$license = '';
$o = get_markup_template("register.tpl");
$tpl = get_markup_template("register.tpl");
$arr = array('template' => $o);
$arr = array('template' => $tpl);
call_hooks('register_form', $arr);
$o = $arr['template'];
$tpl = $arr['template'];
$o = replace_macros($o, [
$o = replace_macros($tpl, [
'$oidhtml' => $oidhtml,
'$invitations' => Config::get('system', 'invitation_only'),
'$permonly' => $a->config['register_policy'] == REGISTER_APPROVE,