aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'register.php')
-rw-r--r--register.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/register.php b/register.php
index 0218119fa..0d42a4795 100644
--- a/register.php
+++ b/register.php
@@ -70,10 +70,13 @@ if (isset($_POST['submit']))
.'Browser: '.$_SERVER['HTTP_USER_AGENT']."\n\n"
.l10n('admin').': '.$admin_url;
- pwg_mail( get_webmaster_mail_address(), '',
- 'PWG '.l10n('register_title').' '.$username,
- $content
- );
+ pwg_mail(get_webmaster_mail_address(),
+ array
+ (
+ 'subject' => 'PWG '.l10n('register_title').' '.$username,
+ 'content' => $content
+ )
+ );
}
redirect(make_index_url());
}