aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/home.php b/mod/home.php
index d796052ad..07087bb2c 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -19,7 +19,7 @@ function home_content(&$a) {
$a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://dfrn.org\" name=\"DFRN.org\" >DFRN</a></div>";
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
- $o .= login(($a->config['register_html'] == REGISTER_CLOSED) ? 0 : 1);
+ $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
return $o;