? emfield_php53_fixes.patch
Index: emfield.cck.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/emfield/Attic/emfield.cck.inc,v
retrieving revision 1.1.2.31
diff -u -p -w -r1.1.2.31 emfield.cck.inc
--- emfield.cck.inc	18 Feb 2010 22:42:42 -0000	1.1.2.31
+++ emfield.cck.inc	11 May 2010 17:50:44 -0000
@@ -231,7 +231,7 @@ function _emfield_emfield_widget(&$form,
   // Allow other modules, such as Embedded Media Thumbnail,
   // to add additional elements to the widget.
   foreach (module_implements('emfield_widget_extra') as $module_extra) {
-    $tree[$module_extra] = module_invoke($module_extra, 'emfield_widget_extra', $form, $form_state, $field, $items, $delta, $module);
+    $tree[$module_extra] = module_invoke($module_extra, 'emfield_widget_extra', &$form, &$form_state, $field, $items, $delta, $module);
 
     // In Drupal 6, we need to build multipart/form-data forms manually.
     if (function_exists($module_extra. '_emfield_widget_extra_file_included')) {
Index: contrib/emthumb/emthumb.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/emfield/contrib/emthumb/emthumb.module,v
retrieving revision 1.7.2.36
diff -u -p -w -r1.7.2.36 emthumb.module
--- contrib/emthumb/emthumb.module	7 Dec 2009 19:41:52 -0000	1.7.2.36
+++ contrib/emthumb/emthumb.module	11 May 2010 17:50:44 -0000
@@ -293,7 +293,7 @@ function emthumb_emfield_widget_extra_fi
  *  building the widget on the node form. It creates a file upload element
  *  so the editor may upload a new thumbnail to replace the provider default.
  */
-function emthumb_emfield_widget_extra(&$form, &$form_state, $field, $items, $delta = 0, $module) {
+function emthumb_emfield_widget_extra($form, $form_state, $field, $items, $delta = 0, $module) {
   $element = array();
   // Construct the thumbnail fieldset with the custom label.
   // We do not want this fieldset if there are no items
