View Single Post
  #12  
Old 05-19-2004, 05:48 PM
 
Mod King Mod King is offline
 

Senior Member
  
Join Date: May 2004
Posts: 115
 

Default

It doesn't look like there is anything to do with the the template file, the form elements have the correct names.

The &mode=cart may be the issue.

In include/register.php, if the action is cart it merges extended user information with the rest of the user information, so that may be the problem.

You could make both use the extended user information. But I am not sure if it will cause any other wierd problems but backup ./include/register.php

And then edit around line 285.

change

Code:
if ($mode=="update") { if ($action == "cart") { $userinfo = func_userinfo($login,$login_type,true); if (!empty($extended_userinfo)) $userinfo = array_merge($userinfo, $extended_userinfo); } else $userinfo = func_userinfo($login,$login_type); }

to

Code:
if ($mode=="update") { if ($action == "cart") { $userinfo = func_userinfo($login,$login_type,true); if (!empty($extended_userinfo)) $userinfo = array_merge($userinfo, $extended_userinfo); } else{ $userinfo = func_userinfo($login,$login_type); if (!empty($extended_userinfo)) $userinfo = array_merge($userinfo, $extended_userinfo); } }
__________________
Mod King
Reply With Quote