After days messing with it, I have given up trying to use CCK field has value. It doesn't match anything I've tried, always evaluating as FALSE. There is no documentation about this that I have yet found, so it is probably just me not having a clue. So I'll start this as a support request.

Comments

jbizzay’s picture

There is no documentation that tells you that you can use tokens inside the php eval box. Furthermore, it says under the php evaluation tab that you can make use of php variables such as $node, $user, $author, etc... There doesn't seem to be any variables available. I checked this by adding dpm(get_defined_vars()); in the php box.

Instead of using

return array(0 => array('uid' => $user));

I had to use a token:

return array(0 => array('uid' => [user:uid]));

mitchell’s picture

Status: Active » Closed (cannot reproduce)

Old issue. Please try latest versions and open a new support request if you need help.