Skip to content

Commit

Permalink
37550: Blog import fails with TypeError thrown with message ilPageObj…
Browse files Browse the repository at this point in the history
…ect::_writeParentId(): Argument #3 () must be of
  • Loading branch information
alex40724 committed Jun 28, 2023
1 parent 182ac35 commit 0570106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Blog/Export/class.ilBlogImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function finalProcessing(
foreach ($blp_map as $blp_id) {
$blp_id = (int) substr($blp_id, 4);
$blog_id = ilBlogPosting::lookupBlogId($blp_id);
ilBlogPosting::_writeParentId("blp", $blp_id, $blog_id);
ilBlogPosting::_writeParentId("blp", $blp_id, (int) $blog_id);
}

$sty_map = $a_mapping->getMappingsOfEntity("Services/Style", "sty");
Expand Down

0 comments on commit 0570106

Please sign in to comment.