Fix parameters for Source

This commit is contained in:
Philipp Holzer 2019-08-18 15:14:03 +02:00
parent b5cb3bc783
commit bff427174b
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

View File

@ -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;