diff --git a/filesystem/Folder.php b/filesystem/Folder.php index bd4a068b2..5dc2654d5 100755 --- a/filesystem/Folder.php +++ b/filesystem/Folder.php @@ -178,7 +178,7 @@ class Folder extends File { Name = '$name', Filename = '$filename', Created = NOW(), LastEdited = NOW(), Title = '$name'"); - return DB::getGeneratedID(); + return DB::getGeneratedID("File"); } /**