Skip to content

Commit

Permalink
Merge pull request #258 from EvoTM/bugfix/pyplanet-import
Browse files Browse the repository at this point in the history
Add folder value to PyPlanet and UASECO import
  • Loading branch information
Braker authored Jun 4, 2022
2 parents fe34b87 + 242001b commit f598cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/Commands/ImportPyplanet.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
'title_id' => $map->title,
'filename' => $map->file,
'uid' => $map->uid,
'author' => $authorId
'author' => $authorId,
'folder' => dirname($map->file)
]);
}

Expand Down
1 change: 1 addition & 0 deletions core/Commands/ImportUaseco.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
'filename' => $map->Filename,
'author' => $author->id,
'uid' => $map->Uid,
'folder' => dirname($map->Filename)
]);

$bar->advance();
Expand Down

0 comments on commit f598cd5

Please sign in to comment.