fix edit user bug deleting emails
This commit is contained in:
parent
2f2d08c574
commit
9975e42d3c
|
@ -173,7 +173,7 @@ function admin_user() {
|
||||||
`Handy` = '" . sql_escape($_POST["eHandy"]) . "',
|
`Handy` = '" . sql_escape($_POST["eHandy"]) . "',
|
||||||
`Alter` = '" . sql_escape($_POST["eAlter"]) . "',
|
`Alter` = '" . sql_escape($_POST["eAlter"]) . "',
|
||||||
`DECT` = '" . sql_escape($_POST["eDECT"]) . "',
|
`DECT` = '" . sql_escape($_POST["eDECT"]) . "',
|
||||||
`email` = '" . sql_escape(isset($_POST["eemail"]) ? $_POST["eemail"] : $user_source['email']) . "',
|
" . ($user_source['email_by_human_allowed'] ? "`email` = '" . sql_escape($_POST["eemail"]) . "'" : "") . "
|
||||||
`jabber` = '" . sql_escape($_POST["ejabber"]) . "',
|
`jabber` = '" . sql_escape($_POST["ejabber"]) . "',
|
||||||
`Size` = '" . sql_escape($_POST["eSize"]) . "',
|
`Size` = '" . sql_escape($_POST["eSize"]) . "',
|
||||||
`Gekommen`= '" . sql_escape($_POST["eGekommen"]) . "',
|
`Gekommen`= '" . sql_escape($_POST["eGekommen"]) . "',
|
||||||
|
|
Loading…
Reference in New Issue