Commit 938de050 authored by yched's avatar yched
Browse files

fix typo that broke the infinite loop safeguard for the 'full node / teaser' formatters

parent e3f2d08f
......@@ -218,7 +218,7 @@ function node_reference_field_formatter_view($obj_type, $object, $field, $instan
$nids_titles = array();
$nids_display = array();
foreach ($nids as $nid) {
if (in_array($item['nid'], $recursion_queue)) {
if (in_array($nid, $recursion_queue)) {
$nids_titles[$nid] = $nid;
else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment