mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Fix remaining references to BaseModule->parameters
This commit is contained in:
parent
75f0c58c5f
commit
cd63533e2c
3 changed files with 4 additions and 4 deletions
|
@ -157,10 +157,10 @@ class Profile extends BaseModule
|
|||
$this->baseUrl->redirect('profile/' . $contact['nick'] . '/profile');
|
||||
}
|
||||
|
||||
if (isset($parameters['action'])) {
|
||||
if (isset($this->parameters['action'])) {
|
||||
self::checkFormSecurityTokenRedirectOnError('contact/' . $contact['id'], 'contact_action', 't');
|
||||
|
||||
$cmd = $parameters['action'];
|
||||
$cmd = $this->parameters['action'];
|
||||
if ($cmd === 'update' && $localRelationship->rel !== Contact::NOTHING) {
|
||||
Module\Contact::updateContactFromPoll($contact['id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue