mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Correctly handle 'Apply changes' for email addresses.
Previously have applying a change, the screen would be refreshed and the email address would still be getting edited. This correctly refreshes the screen to show that the email address editing is finished.
This commit is contained in:
parent
d788bca04a
commit
172e96a322
@ -529,7 +529,7 @@ function email_row_editor() {
|
||||
$emailrow->Assign('email', $email);
|
||||
$emailrow->Assign('main', $_POST['main']);
|
||||
$emailrow->Write( );
|
||||
unset($_GET['email']);
|
||||
unset($_GET['edit_email']);
|
||||
}
|
||||
elseif ( isset($_GET['delete_email']) ) {
|
||||
$qry = new AwlQuery("DELETE FROM usr_emails WHERE user_no=:user_no AND email = :email",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user