? advcontact-6.x_0.patch
Index: advcontact.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advcontact/advcontact.info,v
retrieving revision 1.2
diff -u -p -r1.2 advcontact.info
--- advcontact.info	20 Aug 2008 22:40:31 -0000	1.2
+++ advcontact.info	5 Sep 2008 21:35:25 -0000
@@ -1,4 +1,5 @@
 ; $Id: advcontact.info,v 1.2 2008/08/20 22:40:31 neclimdul Exp $
 name = Advanced Contact
 description = Provides additional features to the default drupal contact form.
-dependencies = contact
+dependencies[] = contact
+core = 6.x
\ No newline at end of file
Index: advcontact.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advcontact/advcontact.module,v
retrieving revision 1.4
diff -u -p -r1.4 advcontact.module
--- advcontact.module	20 Aug 2008 22:40:31 -0000	1.4
+++ advcontact.module	5 Sep 2008 21:35:25 -0000
@@ -27,7 +27,7 @@ function advcontact_help($section) {
  *
  * This is where we modify the contact form to provide our new functionality.
  */
-function advcontact_form_alter($form_id, &$form) {
+function advcontact_form_alter(&$form, $form_state, $form_id) {
   if ($form_id == 'contact_mail_page') {
     if ($cat = $_GET['category']) {
       $cid = array_search($cat, $form['cid']['#options']);
