mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
allow to remove lotw, eqsl and clublog password from db
This commit is contained in:
@@ -300,19 +300,25 @@ class User_Model extends CI_Model {
|
||||
}
|
||||
}
|
||||
|
||||
if($fields['user_lotw_password'] != NULL)
|
||||
if($fields['user_lotw_password'] != '')
|
||||
{
|
||||
$data['user_lotw_password'] = $fields['user_lotw_password'];
|
||||
} else {
|
||||
$data['user_lotw_password'] = NULL;
|
||||
}
|
||||
|
||||
if($fields['user_clublog_password'] != NULL)
|
||||
if($fields['user_clublog_password'] != '')
|
||||
{
|
||||
$data['user_clublog_password'] = $fields['user_clublog_password'];
|
||||
} else {
|
||||
$data['user_clublog_password'] = NULL;
|
||||
}
|
||||
|
||||
if($fields['user_eqsl_password'] != NULL)
|
||||
if($fields['user_eqsl_password'] != '')
|
||||
{
|
||||
$data['user_eqsl_password'] = $fields['user_eqsl_password'];
|
||||
} else {
|
||||
$data['user_eqsl_password'] = NULL;
|
||||
}
|
||||
|
||||
// Update the user
|
||||
|
||||
Reference in New Issue
Block a user