Jump to content
Sign in to follow this  
aktorsyl

iCrew LITE - fix profile edit page

Recommended Posts

One issue I picked up with iCrew LITE, when you edit your own profile - you get an error saying the email address is not filled in (while it is), and your custom data fields also don't insert into the database. Both fixes are listed below:

 

In profile_edit.php:

Change:

<input type="text" class="form-control" value="<?php echo $userinfo->email;?>">

to:

<input type="text" name="email" class="form-control" value="<?php echo $userinfo->email;?>">

 

and, further down in the same file,

 

Change:

echo '<input type="text" class=" name="'.$field->fieldname.'" value="'.$field->value.'" />';

to:

echo '<input type="text" name="'.$field->fieldname.'" value="'.$field->value.'" />';

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×