Skip to content
Snippets Groups Projects
Commit ffb0c3d8 authored by markfoodyburton's avatar markfoodyburton
Browse files

small bug fix

parent 753929a0
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@ function _InsertNode_replacer($matches) {
}
}
if ($nid && node_access('view',$nid)) {
$node=node_load(array('nid'=>$nid));
$node=node_load(array('nid'=>$nid));
if ($nid && node_access('view',$node)) {
switch ($matches[2]) {
case 'body':
return $node->body;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment