Thursday 04 February 2010 2:22:29 am
Hi, I changed a user's login by executing a script like :
$user = eZUser::fetchByName($login);
if (is_object($user))
{
$user->setAttribute("login",$newLogin);
$user->store(); } It seemed to work but, after republishing the user's object, it is now impossible to access every image linked to the user (photos)... I tried to define a new one in the back office, but no new image was created anywhere. Did I forget something in the script ? Thanks for your help Hugo
|