mirror of
https://github.com/friendica/friendica
synced 2025-04-22 18:30:13 +00:00
Fix parameters for Source
This commit is contained in:
parent
b5cb3bc783
commit
bff427174b
1 changed files with 3 additions and 2 deletions
|
@ -20,8 +20,9 @@ class Source extends BaseAdminModule
|
||||||
$a = self::getApp();
|
$a = self::getApp();
|
||||||
|
|
||||||
$guid = null;
|
$guid = null;
|
||||||
if (!empty($a->argv[1])) {
|
// @TODO: Replace with parameter from router
|
||||||
$guid = $a->argv[1];
|
if (!empty($a->argv[3])) {
|
||||||
|
$guid = $a->argv[3];
|
||||||
}
|
}
|
||||||
|
|
||||||
$guid = $_REQUEST['guid'] ?? $guid;
|
$guid = $_REQUEST['guid'] ?? $guid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue