Skip to content

Commit

Permalink
Fix error when importing pages in an empty project
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Jul 12, 2022
1 parent ac1a138 commit 74eac52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions editor/importpages/merge.php
Expand Up @@ -238,9 +238,7 @@ function addNode($index, $node, $root)
$count = count($root->childNodes);
if($count == 0)
{
echo "First";
$root->appendChild($node);
echo "Last";
}
if($index == 0)
{
Expand Down

0 comments on commit 74eac52

Please sign in to comment.