Index: mysite_icon.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mysite/mysite_icon.module,v
retrieving revision 1.5
diff -u -r1.5 mysite_icon.module
--- mysite_icon.module	11 May 2007 23:34:36 -0000	1.5
+++ mysite_icon.module	17 May 2007 11:17:24 -0000
@@ -242,7 +242,7 @@
  */
 function mysite_icon_new_form_validate($form_id, $form_values) {
   if ($file = file_check_upload('icon')) {
-    mysite_icon_validate_picture($file, &$form_values);
+    mysite_icon_validate_picture($file, $form_values);
   }
   else {
     form_set_error('icon', t('The image upload has failed.'));
@@ -340,7 +340,7 @@
  */
 function mysite_icon_change_form_validate($form_id, &$form_values) {
   if ($file = file_check_upload('icon')) {
-    mysite_icon_validate_picture($file, &$form_values);
+    mysite_icon_validate_picture($file, $form_values);
   }
   else {
     form_set_error('icon', t('The image upload has failed.'));
@@ -492,7 +492,7 @@
     form_set_error($form_element, t('The uploaded image is too large; the maximum dimensions are %width x %height pixels.', array('%width' => $maxwidth, '%height' => $maxheight)));
   }
   $directory = file_directory_path() .'/'. variable_get('mysite_icon_path', 'mysite');
-  $dir = file_check_directory(&$directory, $mode = 1, $form_item = 'icon');
+  $dir = file_check_directory($directory, $mode = 1, $form_item = 'icon');
   if (!form_get_errors()) {
     if ($file = file_save_upload('icon', $directory .'/'. $form_values['type'] .'-'. $form_values['type_id'] .'.'. $info['extension'], 1)) {
       $form_values[$form_element] = $form_values['type'] .'-'. $form_values['type_id'] .'.'. $info['extension'];
Index: plugins/types/droplet.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mysite/plugins/types/droplet.inc,v
retrieving revision 1.12
diff -u -r1.12 droplet.inc
--- plugins/types/droplet.inc	16 May 2007 01:24:42 -0000	1.12
+++ plugins/types/droplet.inc	17 May 2007 11:24:32 -0000
@@ -80,7 +80,7 @@
     // get the stored data for the droplet
     $droplet = mysite_get_custom('droplet', $type_id);
     // pass $droplet by reference in order to parse the subtype and key    
-    $content = mysite_type_droplet_get_content(&$droplet);
+    $content = mysite_type_droplet_get_content($droplet);
     $data = array(
       'base' => $droplet->base,
       'xml' => $droplet->xml
@@ -336,7 +336,7 @@
     if (!is_null($droplet_id)) {
       $droplet = mysite_get_custom('droplet', $droplet_id);
       // pass $droplet by reference in order to parse the subtype and key
-      $content = mysite_type_droplet_get_content(&$droplet);
+      $content = mysite_type_droplet_get_content($droplet);
       $base_disabled = FALSE;
       if ($droplet->subtype == 'view') {
         $view = views_load_view($droplet->key);
Index: plugins/types/feed.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mysite/plugins/types/feed.inc,v
retrieving revision 1.12
diff -u -r1.12 feed.inc
--- plugins/types/feed.inc	16 May 2007 01:24:42 -0000	1.12
+++ plugins/types/feed.inc	17 May 2007 11:24:44 -0000
@@ -655,7 +655,7 @@
         if (image_get_toolkit()) {
           image_scale($newfile, $newfile, 120, 60);
         }
-        $move = file_move(&$newfile, $path, FILE_EXISTS_REPLACE);
+        $move = file_move($newfile, $path, FILE_EXISTS_REPLACE);
       }
       else {
         $filename = '';
