- $line[1] = $users[$vid]->lastName(); // adds the user data (in the first fields of the line)
- $line[2] = $users[$vid]->firstName();;
- $line[3] = $users[$vid]->promo();
+ $user=PlUser::getWithUID($users[$vid]);
+ $line[1] = $user->lastName(); // adds the user data (in the first fields of the line)
+ $line[2] = $user->firstName();
+ $line[3] = $user->promo();