aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php
index 2040732ff..3f1fc5400 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -137,8 +137,8 @@ function register_content(&$a) {
if(get_config('system','register_policy') == REGISTER_CLOSED) {
- notice("Permission denied." . EOL);
- return;
+ require_once('mod/pubsites.php');
+ return pubsites_content($a);
}
$max_dailies = intval(get_config('system','max_daily_registrations'));