diff options
-rw-r--r-- | node_truncate.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_truncate.module b/node_truncate.module index ec9a9cd..a906bfd 100644 --- a/node_truncate.module +++ b/node_truncate.module @@ -105,8 +105,8 @@ function node_truncate($type, &$context) { $node = node_delete($row['nid'], NULL, TRUE); $context['sandbox']['progress']++; $context['sandbox']['current_node'] = $node->nid; - $context['results'][] = $node->nid .' : '. $node->title; - $context['message'] = $node->title; + $context['results'][] = $node->nid .' : '. check_plain($node->title); + $context['message'] = check_plain($node->title); } if ($context['sandbox']['progress'] != $context['sandbox']['max']) { $context['finished'] = $context['sandbox']['progress'] / $context['sandbox']['max']; |