summaryrefslogtreecommitdiff
path: root/modules/contact
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-04 15:56:34 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-04 15:56:34 +0000
commite629deb94dd3f2ee1bdfef9e081447e13b7d1f02 (patch)
tree2dc89fe1c62829d9e20b7da5974a56870a18252b /modules/contact
parentf16f70a89e45cae4eb6ca41d72d751abfe95186f (diff)
downloadbrdo-e629deb94dd3f2ee1bdfef9e081447e13b7d1f02.tar.gz
brdo-e629deb94dd3f2ee1bdfef9e081447e13b7d1f02.tar.bz2
- Patch #146667 by Jeff Eaton: form API fixes.
Diffstat (limited to 'modules/contact')
-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;
}
-