mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Fix errors in all modules
This commit is contained in:
parent
6cb9676250
commit
f254283dc6
9 changed files with 15 additions and 14 deletions
|
@ -70,6 +70,8 @@ class Circle extends BaseModule
|
|||
throw new \Exception(DI::l10n()->t('Permission denied.'), 403);
|
||||
}
|
||||
|
||||
$message = '';
|
||||
|
||||
if (isset($this->parameters['command'])) {
|
||||
$circle_id = $this->parameters['circle'];
|
||||
$contact_id = $this->parameters['contact'];
|
||||
|
@ -169,7 +171,9 @@ class Circle extends BaseModule
|
|||
]);
|
||||
}
|
||||
|
||||
$nocircle = false;
|
||||
$nocircle = false;
|
||||
$members = [];
|
||||
$preselected = [];
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
if ((DI::args()->getArgc() == 2) && (DI::args()->getArgv()[1] === 'none') ||
|
||||
|
@ -181,9 +185,6 @@ class Circle extends BaseModule
|
|||
'name' => DI::l10n()->t('Contacts not in any circle'),
|
||||
];
|
||||
|
||||
$members = [];
|
||||
$preselected = [];
|
||||
|
||||
$context = $context + [
|
||||
'$title' => $circle['name'],
|
||||
'$gname' => ['circle_name', DI::l10n()->t('Circle Name: '), $circle['name'], ''],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue