Posted by Amy_M on November 8, 2010 at 4:42pm
Hi There!
Quick question for a noob... I've got a rule that is used for the following:
1) User flags a node
2) Rules triggers a user reference to be added to that node / flagging user id
This is all fine and dandy and working like a charm... However the array that I'm using is not retaining existing user references, it over-writes them because I'm using this:
return array(
0 => array('uid' => [flagging_user:uid]),
);
Just wondering if someone could help me with the correct php to append the field with a new user reference rather than simply replacing it...
Thanks!