aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/picture_comment.inc.php')
-rw-r--r--include/picture_comment.inc.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index 194e715c8..e9bad6f79 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -223,10 +223,8 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
'Validate: '.get_absolute_root_url()
.'comments.php?validate='.$comm['id'];
}
- pwg_mail( get_webmaster_mail_address(), '',
- 'PWG comment by '.$comm['author'],
- $content
- );
+ pwg_mail(get_webmaster_mail_address(),
+ array('subject' => 'PWG comment by '.$comm['author'], 'content' => $content));
}
}
else