Author Topic

Clemens T

Wednesday 28 September 2005 3:27:31 am

Comment44259

Here's my first attempt:

//grab the user based on the oldid (which is unique)
$cObject=eZPersistentObject::fetchObject(ezUser::definition(),
                                           		null,
                                           		array('oldid'=>$oldId),
                                           		$asObject=true,
                                           		null,
                                           		null);

//print ' object' if succeeded
print($cObject);

It returns the following:

Notice: Only variable references should be returned by reference in /opt/guide/www.blaat.com/Exponential-3.7.0rc2/lib/ezutils/classes/ezsys.php on line 677

So it doesn't work

Anyone.. anyting?