[support] Default PHP Code for CCK field

Xavier Bestel xavier.bestel at free.fr
Thu Nov 1 21:46:24 UTC 2007


Le jeudi 01 novembre 2007 à 16:28 -0400, Chris McCreery a écrit :
> Grrrrrrrrrrrrrrrrrrrrrrrrrrr, ok nothing seems to work everything I
> put in there gives me the same error.
> 
> This is what I have now.
> 
> global $user;
> return array(0 => array('uid' => $user=>uid)); 

Maybe try
array('uid' => $user['uid'])




More information about the support mailing list