summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/contact/contact.pages.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc
index 041ad4d5f..ce7ad6796 100644
--- a/modules/contact/contact.pages.inc
+++ b/modules/contact/contact.pages.inc
@@ -25,7 +25,9 @@ function contact_site_page() {
function contact_mail_page() {
global $user;
-
+
+ $form = $categories = array();
+
$result = db_query('SELECT cid, category, selected FROM {contact} ORDER BY weight, category');
while ($category = db_fetch_object($result)) {
$categories[$category->cid] = $category->category;