Fatal error: Cannot use string offset as an array in /var/www/drupal-all/modules/mlist/mlist.module on line 112

joestewart - March 20, 2006 - 18:27
Project:Mailman Mailing List Management Wrapper
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

hook_form_alter() arguments changed evidently.

cvs diff -u mlist.module
Index: mlist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mlist/mlist.module,v
retrieving revision 1.9
diff -u -r1.9 mlist.module
--- mlist.module 31 Dec 2005 00:51:10 -0000 1.9
+++ mlist.module 20 Mar 2006 18:22:29 -0000
@@ -107,7 +107,7 @@
* Squashes the Publishing Options, etc. pulldowns in the Edit
*
**/
-function mlist_form_alter(&$form) {
+function mlist_form_alter($form_id, &$form) {

$form['author']['#type'] = 'value';
$form['options']['#type'] = 'value';
@@ -1508,4 +1508,4 @@

return $html_code;
}
-?>
\ No newline at end of file
+?>

 
 

Drupal is a registered trademark of Dries Buytaert.