5101 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 330 Views |
-
$member->inGroup and renaming a Member Group

6 January 2012 at 11:02pm
Can somebody confirm that after renaming a Member Group the inGroup method with the Group Title still checks on the old name?
I renamed a group from 'Dealer' to 'Retailer' in the Security Tab and
if( $member->inGroup('Retailer') )
returns false
if( $member->inGroup('Dealer') )
returns trueSeemed that in the Groups Table the Code field wasnt updated.
I updated it manually and then it works.
Feels like a Bug, doesnt it? -
Re: $member->inGroup and renaming a Member Group

7 January 2012 at 12:35am Last edited: 7 January 2012 10:42pm
If it's a bug (or you think it is) best place is open.silverstripe.org
You are unlikely to get a response from an SS dev hereEdit but so you did from Willr! -
Re: $member->inGroup and renaming a Member Group

7 January 2012 at 9:05pm
See my comment on the ticket - http://open.silverstripe.org/ticket/6829#comment:1
| 330 Views | ||
|
Page:
1
|
Go to Top |



