$r1 = nat_get_nids(array(28), TRUE);
$r2 = nat_get_nids(array(28), FALSE);
print_r($r1);
print_r($r2);
Result $r2 will have owner name instead of node title.
$r1 = nat_get_nids(array(28), TRUE);
$r2 = nat_get_nids(array(28), FALSE);
print_r($r1);
print_r($r2);
Result $r2 will have owner name instead of node title.
Comments
Comment #1
Thomas_Zahreddin commentedThat's exactly what is coded (i do not know if it was intended) in nat.module, line 381:
see http://drupalcode.org/project/nat.git/blob/e0570e5a60e5ce4142634689bb952...
$return[$nid] = $node->name;
change this line to:
$return[$nid] = $node->title;
for the title.