|
From: Chris W. <ch...@cw...> - 2002-01-28 13:04:56
|
On Mon, 2002-01-28 at 05:03, Ewa...@ap... wrote:
> in the package base_user-1.47 the method 'is_in_group' doesn't work
> correctly.
>
> If the $group_spec is an string, the return value is always true.
>
> I change the row
> return 1 if ( $group->id == $check_group_id );
> to
> return 1 if ( $group->id eq $check_group_id );
Thanks. I've modified this comparison to first check the group ID type
in the server configuration ('id'->'group_type'). The fix is in CVS, but
I'm not going to upload the package to Sourceforge because the base_user
package has a change that depends on the next version of SPOPS.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|