Fix parameters for Source
This commit is contained in:
parent
b5cb3bc783
commit
bff427174b
|
@ -20,8 +20,9 @@ class Source extends BaseAdminModule
|
|||
$a = self::getApp();
|
||||
|
||||
$guid = null;
|
||||
if (!empty($a->argv[1])) {
|
||||
$guid = $a->argv[1];
|
||||
// @TODO: Replace with parameter from router
|
||||
if (!empty($a->argv[3])) {
|
||||
$guid = $a->argv[3];
|
||||
}
|
||||
|
||||
$guid = $_REQUEST['guid'] ?? $guid;
|
||||
|
|
Loading…
Reference in a new issue