Read line 70 of viewfield.module:

$translated_args = strtr($item['vargs'], array('%nid' => $node->nid, '%author' => $node->nid, '%viewer' => $user->uid));

actually, it should be:

$translated_args = strtr($item['vargs'], array('%nid' => $node->nid, '%author' => $node->uid, '%viewer' => $user->uid));

*%author => node->uid

Comments

mfredrickson’s picture

Status: Active » Fixed

Thanks.

Fixed in 5.x-1.x-dev, will be in next release.

Anonymous’s picture

Status: Fixed » Closed (fixed)