summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-09 22:21:01 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-09 22:21:01 +0000
commitd55a508b88e29e6b43c36b494596ddffc683d49c (patch)
tree2add16644a506d5a6e2b48564ef8e4f2713ee57a /modules/contact
parent7d97733602ec7eeb34ba41a86a87deb827d3e9fa (diff)
downloadbrdo-d55a508b88e29e6b43c36b494596ddffc683d49c.tar.gz
brdo-d55a508b88e29e6b43c36b494596ddffc683d49c.tar.bz2
- Patch #40397 by DriesK: fixed problem with contact module.
Diffstat (limited to 'modules/contact')
-rw-r--r--modules/contact/contact.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 3105a9bee..0b2803e35 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -289,7 +289,7 @@ function contact_mail_page_validate($form_id, &$form) {
$result = db_query('SELECT cid FROM {contact}');
if (db_num_rows($result) == 1) {
$category = db_fetch_object($result);
- $form_values['cid'] = $category->category;
+ $form_values['cid'] = $category->cid;
}
else {
form_set_error('category', t('You must select a valid category.'));