// Default is we don't want to change password!
$PASS_AND = ''; $PASS_DATA = '';
- // Check if we want to change password or not
+ // Check if the sponsor wants to change his/her password
if ((postRequestElement('pass1') == postRequestElement('pass2')) && (isPostRequestElementSet('pass1')) && (postRequestElement('pass1') != postRequestElement('pass_old'))) {
// Change current password
$PASS_AND = ",`password`='%s'";