Skip to content

Commit

Permalink
Turn around assignment of properties
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Dec 18, 2014
1 parent 52d05a9 commit df66080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SiteTreeImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ function bulkimport($data, $form) {
if($numTabs > 0) $page->ParentID = $parentRefs[$numTabs-1];

// Apply any meta data properties to the page
if($json) $page->update($json);
$page->Title = $title;
$page->URLSegment = $url;
if($json) $page->update($json);

$page->write();

Expand Down

0 comments on commit df66080

Please sign in to comment.