Re: Modifying group in version 0.7.2

Joe Stewart <[email protected]> Mon, 2 Jun 2003 16:17:46 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
On Mon, Jun 02, 2003 at 10:35:55PM +0200, Peter Termaten wrote:
> Hi all,
> 
> I'm implementing phpSlash and I noticed some strange behaviour when 
> updating a group:
> 
> When I'm adding a permission to an existing group,  psl creates a new 
> (empty) psl_group record and  new records for psl_group_permission_lut for 
> this newly created group.
> 
> It does not update the group as requested.
> 
> The result is an inconsistent set of records, causing weird behaviour of 
> the application and mysql 1062 errors.
> 
> Am I doing something wrong or is this a bug?
> 

Seems to be this change to function clean() in functions.inc:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpslash/phpslash-ft/class/functions.inc.diff?r1=1.140&r2=1.141

> Regards,
> Peter
> 


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5