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();
$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;