[horde] sql share driver: groups uid and integer cast

Dominique LALOT dom.lalot at gmail.com
Fri Dec 5 15:30:02 UTC 2008


Chuck Hagenbuch a écrit :
> Quoting Dominique LALOT <dom.lalot at gmail.com>:
>
>> #                    
>> $share['perm']['groups'][*(int)*$row['group_uid']] = (int)$row['perm'];
>>
>> That instruction was the problem converting my groups uid to 0 (no 
>> warning on cast..) which does not exists
>
>> I know that's not an Horde bug properly speaking. But in sql 
>> database, the group_uid is varchar(255). So why should we cast?
>> I also suppose there's another cast somewhere else as one of my 
>> group_uid saved is 0.
>> Is it reasonable to change that line?
>
> Yes, if that still exists in CVS it should be removed. Please open a 
> bug on bugs.horde.org, with a patch if possible.
I've checked at CVS and that correction has already been done. So 
nothing to do.
Sorry..

Dom
>
> Thanks,
> -chuck
> -- 
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Dominique LALOT
Ingenieur Systeme et Reseaux
Universite de la Mediterrane (Aix-Marseille 2)
http://annuaire.univmed.fr/showuser.php?uid=lalot



More information about the horde mailing list