Re: Action for uc_roles

Splicer's picture
Offline
Joined: 09/22/2009
Juice: 26
Re: Action for uc_roles

The only thing I see so far is the line (146):

  uc_roles_user('update', $context, $object, 'account');

but looking at http://api.ubercart.org/api/function/uc_roles_user/2 I see that the first argument to uc_roles_user() doesn't have any action associated with "update".

I'm thinking that perhaps it should be

  uc_roles_user('submit', $context, $object, 'account');

instead?

Action for uc_roles By: kentr (8 replies) Sun, 12/06/2009 - 03:23