diff -upr ../nodereference_explorer_orig/includes/nodereference_explorer.menu.inc ./includes/nodereference_explorer.menu.inc
--- ../nodereference_explorer_orig/includes/nodereference_explorer.menu.inc	2009-07-17 17:38:28.000000000 +0200
+++ ./includes/nodereference_explorer.menu.inc	2009-07-22 16:23:03.781250000 +0200
@@ -78,11 +78,11 @@ function nodereference_explorer_dialog($
   }
 
   //parse theme settings
-  $theme = nodereference_explorer_util_parse_settings(&$field, 'theme'); //theme mode
+  $theme = nodereference_explorer_util_parse_settings($field, 'theme'); //theme mode
   nodereference_explorer_util_theme_css($theme); //load necessary css files
 
   //parse dialog settings
-  $dialog = nodereference_explorer_util_parse_settings(&$field, 'dialog');
+  $dialog = nodereference_explorer_util_parse_settings($field, 'dialog');
   nodereference_explorer_util_jquery_ui_js($dialog); //add dialog related js files
 
   //tab lib and css
@@ -113,7 +113,7 @@ function nodereference_explorer_dialog($
       nodereference_explorer_add_js('explorer.dialog');
   }
 
-  $actions = nodereference_explorer_util_parse_settings(&$field, 'action');
+  $actions = nodereference_explorer_util_parse_settings($field, 'action');
   /* TODO the scripts array contains additional settings and scripts that
    * ideally could inform some process of loading and setting those things.
    * instead, we're calling views_add_js('ajax_view') with the element..
diff -upr ../nodereference_explorer_orig/includes/nodereference_explorer.widget.integrate.inc ./includes/nodereference_explorer.widget.integrate.inc
--- ../nodereference_explorer_orig/includes/nodereference_explorer.widget.integrate.inc	2009-07-17 17:38:28.000000000 +0200
+++ ./includes/nodereference_explorer.widget.integrate.inc	2009-07-22 16:30:11.421875000 +0200
@@ -91,7 +91,7 @@ function nodereference_explorer_widget_i
           $element['#field_name'] = $fields[$field_name]['field_name'];
           $element['#type_name'] = $fields[$field_name]['type_name'];
           //add buttons
-          nodereference_explorer_widget_actions(&$element, $fields[$field_name]);
+          nodereference_explorer_widget_actions($element, $fields[$field_name]);
           //TODO: support preview for external fields
          // $fields[$field_name]['widget']['content_preview_position'] = 'below';
          // nodereference_explorer_widget_preview(&$element, $fields[$field_name]);
