? advcontact-6.x.ptach
Index: advcontact.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advcontact/advcontact.info,v
retrieving revision 1.1
diff -u -p -r1.1 advcontact.info
--- advcontact.info	23 Feb 2007 23:35:27 -0000	1.1
+++ advcontact.info	18 Aug 2008 15:34:03 -0000
@@ -1,3 +1,4 @@
 name = Advanced Contact
 description = Provides additional features to the default drupal contact form.
-dependencies = contact
\ No newline at end of file
+dependencies[] = contact
+core = 6.x
Index: advcontact.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advcontact/advcontact.module,v
retrieving revision 1.1
diff -u -p -r1.1 advcontact.module
--- advcontact.module	23 Feb 2007 23:35:27 -0000	1.1
+++ advcontact.module	18 Aug 2008 15:34:03 -0000
@@ -6,8 +6,8 @@
 /**
  * Implementation of hook_help().
  */
-function advcontact_help($section) {
-  if ($section == 'admin/help#advcontact') {
+function advcontact_help($path, $arg) {
+  if ($path == 'admin/help#advcontact') {
     return t('This module provides extra functionality to the the default drupal contact module.<br/>' .
         'With it you can:' .
         '<ul>' .
@@ -24,7 +24,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']);
