Skip to content
Snippets Groups Projects
Commit 2d970cde authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-185] Merging trunk into testing

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@904 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 720a2988
No related branches found
No related tags found
No related merge requests found
......@@ -784,13 +784,15 @@ class Unl_Migration_Tool
if (module_exists('pathauto')) {
$node->path['pathauto'] = FALSE;
}
$filter_format_keys = array_keys(filter_formats());
$node->body = array(
'und' => array(
array(
'value' => $content,
'format' => array_shift(array_keys(filter_formats()))
)
)
'und' => array(
array(
'value' => $content,
'format' => array_shift($filter_format_keys),
),
),
);
node_submit($node);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment