CMS MADE SIMPLE FORGE

Frontend Users

 

[#3726] Import Users Error

avatar
Created By: Alan Ryan (aln_cms)
Date Submitted: Thu Jul 16 06:48:14 -0400 2009

Assigned To:
Version: None
CMSMS Version: None
Severity: Minor
Resolution: None
State: Closed
Summary:
Import Users Error
Detailed Description:
Hi, 
When importing users the fields were being ignored, e.g.

##username,password,expires,company,firstname,surname,phone,position
alan@codecrunchers.ie,password,2009-09-09,"b","c","d","e","f","g"

Only username, password and expires were being imported.  The remaining fields
are ignored:

suggested fix:

line 194 of 1.65 has 

::foreach( $tmpmap2 as $onefieldname)

this is retruning the 0,1,2 index as opposed to the fieldname which is sought
for a match. changing above to below fixes issue

::foreach( $tmpmap2 as $onefieldname => $onefieldindex)


Alan



History

Updates

Updated: 2012-11-28 13:01
resolution_id: => 5
cmsms_version_id: => -1
state: Open => Closed