From ac85dea267261a58ae815c257098a3ae6ed42b80 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 20 Dec 2013 12:22:49 +0100 Subject: [PATCH] Fix migration import of user files --- lib/private/migrate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/migrate.php b/lib/private/migrate.php index 5354e9d338d..2d2d37795fd 100644 --- a/lib/private/migrate.php +++ b/lib/private/migrate.php @@ -257,7 +257,7 @@ class OC_Migrate{ $userfolder = $extractpath . $json->exporteduser; $newuserfolder = $datadir . '/' . self::$uid; foreach(scandir($userfolder) as $file){ - if($file !== '.' && $file !== '..' && is_dir($file)) { + if($file !== '.' && $file !== '..' && is_dir($userfolder.'/'.$file)) { $file = str_replace(array('/', '\\'), '', $file); // Then copy the folder over