mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Enforce systen.register_policy value type
This commit is contained in:
parent
9b01a23c9b
commit
67dc08d120
14 changed files with 19 additions and 19 deletions
|
@ -47,7 +47,7 @@ function home_content(App $a) {
|
|||
}
|
||||
}
|
||||
|
||||
$login = Login::form($a->query_string, Config::get('config', 'register_policy') === REGISTER_CLOSED ? 0 : 1);
|
||||
$login = Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === REGISTER_CLOSED ? 0 : 1);
|
||||
|
||||
$content = '';
|
||||
Addon::callHooks("home_content",$content);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue