Problem: 'me' aliases replaces the arg(1) (user id) with the word 'me'. This breaks the Affiliate 2 control panel because of it's use of arg(1) instead of $user->uid.
Solution:
Change line 959 of uc_affiliate2.module from
$account = user_load(array('uid' => arg(1)));
to
$account = user_load(array('uid' => $user->uid));
Fixed.
Comments
Comment #1
bojanz commentedHowever, your solution breaks the ability for admin or someone with similar permissions to view other people's dashboards.
The correct way to do this is to modify _menu() to provide the $user object to all functions that require it (such as the dashboard) and then use $user->uid.
Fixed in CVS.
Comment #2
Anonymous (not verified) commentedThanks for pointing that out, glad to hear it is fixed in CVS