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));

On 11/1/07, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Quoting Chris McCreery <chris.mccreery@gmail.com>:

> Thanks but still no luck just that same error. Since I'm just trying to
> specify the default for this field and it is already getting the possible
> users to reference am I just trying to specify the default value? If so then
> do I need to run a query or just tell Drupal which uid I'd like to use?
> Would the following work? ( it doesn't but that just might be my syntax.
>
> global $user
> return array(
>  0 => array('uid' => $user=>uid)
> );
>

Yes, based on what you've said.  You need a ; after global $user.
Maybe you don't need to global $user; at all.  Or you can ``$user =
$GLOBALS['user'];''.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/

--
[ Drupal support list | http://lists.drupal.org/ ]



--
Chris McCreery