https://bugzilla.wikimedia.org/show_bug.cgi?id=33414

Shawn Reeves <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Shawn Reeves <[email protected]> 2012-02-28 
23:49:45 UTC ---
I think I've found the/a cause of this bug:
I found the item in UserMerge_body.php: line 227 inserts ipb_id into the array
of places where userid may be found in the database, even though ipb_id is not
a user id but a primary key for its table. It should be changed to ipb_user.
The original code, in context:
 $idUpdateFields = array(
  array('archive','ar_user'),
  array('revision','rev_user'),
  array('filearchive','fa_user'),
  array('image','img_user'),
  array('oldimage','oi_user'),
  array('recentchanges','rc_user'),
  array('logging','log_user'),
  array('ipblocks', 'ipb_id'),
  array('ipblocks', 'ipb_by'),
  array('watchlist', 'wl_user'),
 );

What the code should be:

 $idUpdateFields = array(
  array('archive','ar_user'),
  array('revision','rev_user'),
  array('filearchive','fa_user'),
  array('image','img_user'),
  array('oldimage','oi_user'),
  array('recentchanges','rc_user'),
  array('logging','log_user'),
  array('ipblocks', 'ipb_user'),
  array('ipblocks', 'ipb_by'),
  array('watchlist', 'wl_user'),
 );

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to