Fix: changing contact settings
parent
a3dff95c2b
commit
fc3ab1762e
|
@ -130,6 +130,7 @@ class Profile extends BaseModule
|
||||||
if (!Contact::update($fields, ['id' => $ucid, 'uid' => $this->session->getLocalUserId()])) {
|
if (!Contact::update($fields, ['id' => $ucid, 'uid' => $this->session->getLocalUserId()])) {
|
||||||
$this->systemMessages->addNotice($this->t('Failed to update contact record.'));
|
$this->systemMessages->addNotice($this->t('Failed to update contact record.'));
|
||||||
}
|
}
|
||||||
|
$this->baseUrl->redirect('contact/' . $contact_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function content(array $request = []): string
|
protected function content(array $request = []): string
|
||||||
|
|
Loading…
Reference in New Issue