mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Merge pull request #7107 from nupplaphil/bug/mod_fix_routes
Fix contact/group routes
This commit is contained in:
commit
41642061d7
2 changed files with 18 additions and 3 deletions
|
@ -367,6 +367,7 @@ class Contact extends BaseModule
|
|||
return;
|
||||
}
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
$cmd = $a->argv[2];
|
||||
|
||||
$orig_record = DBA::selectFirst('contact', [], ['id' => $contact_id, 'uid' => [0, local_user()], 'self' => false, 'deleted' => false]);
|
||||
|
@ -667,6 +668,7 @@ class Contact extends BaseModule
|
|||
$archived = false;
|
||||
$all = false;
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
if (($a->argc == 2) && ($a->argv[1] === 'all')) {
|
||||
$sql_extra = '';
|
||||
$all = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue