bugphpGroupWare - Bugs: bug #12446, Changing loginID results in FUD...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12446: Changing loginID results in FUD user creation

Submitter:  Sonni <sonni>
Submitted:  Thu 24 Mar 2005 02:10:15 PM UTC
   
 
Category:  phpgw-FUDForum Item Group:  0.9.16.005
Severity:  3 - Normal Priority:  1 - Later
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  BZIP2 Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Sun 04 Dec 2005 06:21:18 AM UTC, comment #1: 

This has been fixed in stable cvs for some time.  Please update

Dave Hall <skwashd>
Group administrator
Thu 24 Mar 2005 02:10:15 PM UTC, original submission:  

Changing an accounts loginID, from A to B, and then back to A will result in a DB unique constrain.

At line 143 in fudforum/inc/class.ufud.inc.php

The following code is used to check if the user already exist:

$GLOBALS['phpgw']->db->query("SELECT login FROM phpgw_fud_users WHERE login='$lid'");

but when changing an accounts loginID ($lid), the new loginID is used to check for user existence.

The check should use the phpgq_id, like this:

$GLOBALS['phpgw']->db->query("SELECT login FROM phpgw_fud_users WHERE phpgw_id='$id'");

Sonni <sonni>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-12-04 skwashd StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code