summaryrefslogtreecommitdiff
path: root/submit.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-10-19 13:31:23 +0000
committerDries Buytaert <dries@buytaert.net>2000-10-19 13:31:23 +0000
commit11ee95dadc408e16e9832af9fd0b41495e78b0a6 (patch)
treea8f5ca3387e360b37d0eafc4edfdc5fdc52d3b87 /submit.php
parent43af5a7389265891770e4a283e4748678754797f (diff)
downloadbrdo-11ee95dadc408e16e9832af9fd0b41495e78b0a6.tar.gz
brdo-11ee95dadc408e16e9832af9fd0b41495e78b0a6.tar.bz2
A big, fat commit with a shitload of internal changes. Not that much
visual changes: - removed redundant files user.class.php, calendar.class.php and backend.class.php. - converted *all* mysql queries to queries supported by the database abstraction layer. - expanded the watchdog to record more information on what actually happened. - bugfix: anonymous readers where not able to view comments. - bugfix: anonymous readers could gain read-only access to the submission queue. - bugfix: invalid includes in backend.php - bugfix: invalid use of '$user->block' and last but not least: - redid 50% of the user account system
Diffstat (limited to 'submit.php')
-rw-r--r--submit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/submit.php b/submit.php
index 88bd38faa..5bd8d137c 100644
--- a/submit.php
+++ b/submit.php
@@ -138,7 +138,7 @@ function submit_submit($subject, $abstract, $article, $category) {
### Send e-mail notification (if enabled):
if ($notify) {
- $message = "New submission:\n\nsubject...: $subject\nauthor....: $user->userid <$user->email>\ncategory..: $category\nabstract..:\n$abstract\n\narticle...:\n$article";
+ $message = "New submission:\n\nsubject...: $subject\nauthor....: $user->userid <$user->real_email>\ncategory..: $category\nabstract..:\n$abstract\n\narticle...:\n$article";
mail($notify_email, "$notify_subject $subject", $message, "From: $notify_from\nX-Mailer: PHP/" . phpversion());
}