summaryrefslogtreecommitdiff
path: root/modules/contact.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-05-11 16:36:06 +0000
committerDries Buytaert <dries@buytaert.net>2005-05-11 16:36:06 +0000
commit91170a4fbaf20c21f993b40829229e04b417466b (patch)
tree08a298483f3a6d31ebccb40bad03d527def969a7 /modules/contact.module
parent228290553b3e94f151922db56900a026b4177594 (diff)
downloadbrdo-91170a4fbaf20c21f993b40829229e04b417466b.tar.gz
brdo-91170a4fbaf20c21f993b40829229e04b417466b.tar.bz2
- Fixed a braino.
Diffstat (limited to 'modules/contact.module')
-rw-r--r--modules/contact.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact.module b/modules/contact.module
index 1588aa556..01c4176ef 100644
--- a/modules/contact.module
+++ b/modules/contact.module
@@ -279,7 +279,7 @@ function contact_mail_page() {
drupal_goto('contact');
}
}
- else {
+ else if ($user->uid) {
$edit['name'] = $user->name;
$edit['mail'] = $user->mail;
}