Fix crepair links

This commit is contained in:
nupplaPhil 2020-02-02 20:50:53 +01:00
parent 46e89299c5
commit 8632c90327
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 3 additions and 3 deletions

View file

@ -374,7 +374,7 @@ class Contact extends BaseModule
if ($cmd === 'updateprofile' && ($orig_record['uid'] != 0)) {
self::updateContactFromProbe($contact_id);
DI::baseUrl()->redirect('crepair/' . $contact_id);
DI::baseUrl()->redirect('contact/' . $contact_id . '/advanced/');
// NOTREACHED
}
@ -910,7 +910,7 @@ class Contact extends BaseModule
if (!empty($contact['uid'])) {
$tabs[] = ['label' => DI::l10n()->t('Advanced'),
'url' => 'crepair/' . $contact['id'],
'url' => 'contact/' . $contact['id'] . '/advanced/',
'sel' => (($active_tab == 6) ? 'active' : ''),
'title' => DI::l10n()->t('Advanced Contact Settings'),
'id' => 'advanced-tab',

View file

@ -11,7 +11,7 @@
</div>
<br />
<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" >
<form id="crepair-form" action="contact/{{$contact_id}}/advanced" method="post" >
<!-- <h4>{{$contact_name}}</h4> -->