[support] Default PHP Code for CCK field

Xavier Bestel xavier.bestel at free.fr
Fri Nov 2 08:00:32 UTC 2007


> Any help would be awesome because as you can see I have limited coding
> skills.

Cog just told you to try:

global $user;
array ( 0 => array ('uid' => $user->uid));

Note the difference: the last "=" has been replaced with a "-".

HTH,
	Xav




More information about the support mailing list