Merge pull request #14459 from annando/fix-contact-settings

Fix: changing contact settings
This commit is contained in:
Tobias Diekershoff 2024-10-11 07:25:03 +02:00 committed by GitHub
commit bbd4117ed4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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