]> git.mxchange.org Git - friendica.git/commitdiff
Fix: changing contact settings
authorMichael <heluecht@pirati.ca>
Tue, 8 Oct 2024 20:49:24 +0000 (20:49 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 8 Oct 2024 20:49:24 +0000 (20:49 +0000)
src/Module/Contact/Profile.php

index b0125179082137944183574db7fa8cd83fbbcaf1..efd7c5cdb60929266d50743c6765bb4e8d98d7ea 100644 (file)
@@ -130,6 +130,7 @@ class Profile extends BaseModule
                if (!Contact::update($fields, ['id' => $ucid, 'uid' => $this->session->getLocalUserId()])) {
                        $this->systemMessages->addNotice($this->t('Failed to update contact record.'));
                }
+               $this->baseUrl->redirect('contact/' . $contact_id);
        }
 
        protected function content(array $request = []): string