Fix parameters for Source
This commit is contained in:
parent
b5cb3bc783
commit
bff427174b
|
@ -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…
Reference in New Issue
Block a user