--- E:/Progetti/htdocs/ladige/sites/all/modules/filefield_paths/filefield_pathsORIG.module	Wed Jun 08 17:55:00 2011
+++ E:/Progetti/htdocs/ladige/sites/all/modules/filefield_paths/filefield_paths.module	Wed Jun 08 18:00:45 2011
@@ -748,9 +748,10 @@
 function filefield_paths_file_move(&$file, $replace = FILE_EXISTS_RENAME) {
   $dest = _filefield_paths_strip_path(dirname($file['filepath']['new']));
 
+  $dirs[] = file_directory_path();
   foreach (explode('/', $dest) as $dir) {
     $dirs[] = $dir;
-    $path = file_create_path(implode($dirs, '/'));
+    $path = file_create_path(implode('/',$dirs));
     if (!_filefield_paths_check_directory($path, FILE_CREATE_DIRECTORY)) {
       watchdog('filefield_paths', 'FileField Paths failed to create directory (%d).', array('%d' => $path), WATCHDOG_ERROR);
       return FALSE;
