[horde] thor and horde/lib/Group.php

Johan FISCHER linux at fischaz.com
Thu Oct 30 16:33:17 PST 2003


Sorry. My mistake.


It was a thor error when passing the wrong group name to the Horde function.
Nothing's wrong with horde but i'm wondering if it would be possible to return
a  value from the userIsInGroup() saying that there is no user or was an
error...

Cheers.
Johan.
Quoting Johan FISCHER <linux at fischaz.com>:

> Hi,
>
> I'm not sure if this mailling is fine to post this question but since my
> error
> has something to do with an horde lib, i try anyway.
>
> I have an error when I try to open to first page of the Thor module.
>
> Warning: Illegal offset type in /var/www/horde/lib/Group.php on line 346
>
> If I add some echo function to understand why there is an error I get this
> messages :
>
> -----------
> user : fischaz - group : Aggregator:Developers - subgroup : 1
> group : Aggregator:Developers - $this->getGroupId ($group) : 6
> -------------------
> user : fischaz - group : Aggregator:Administrators - subgroup : 1
> group : Aggregator:Administrators - $this->getGroupId ($group) : Object
> --------
>
> Seems the function is called twice but in the second time, the getGroupId
> return
> an object.
>
> This is my group tree
> All Groups
>       |_ Aggregator
>               |_ Developers
>               |      |_ Administrators
>               |_ Accpeted
>
> PS : of course, My Horde distribution is all a CVS HEAD.
>
> Thx.
>
> Johan.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1018 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/horde/attachments/20031031/f2c50967/attachment.bin


More information about the horde mailing list