summaryrefslogtreecommitdiff
path: root/modules/contact/contact.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/contact/contact.module')
-rw-r--r--modules/contact/contact.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 949898d77..e07a9861e 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -259,7 +259,7 @@ function contact_admin_edit_submit($form, &$form_state) {
/**
* Category delete page.
*/
-function contact_admin_delete($cid = NULL) {
+function contact_admin_delete(&$form_state, $cid = NULL) {
if ($info = db_fetch_object(db_query("SELECT category FROM {contact} WHERE cid = %d", $cid))) {
$form['category'] = array('#type' => 'value',
'#value' => $info->category,
@@ -556,4 +556,3 @@ function contact_mail_page_submit($form, &$form_state) {
$form_state['redirect'] = '';
return;
}
-