From bff427174b4f81fdefa00c794aa13d7d5f3eacf3 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 18 Aug 2019 15:14:03 +0200 Subject: [PATCH] Fix parameters for Source --- src/Module/Admin/Item/Source.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Module/Admin/Item/Source.php b/src/Module/Admin/Item/Source.php index 35261e5d0a..6da9eec6d3 100644 --- a/src/Module/Admin/Item/Source.php +++ b/src/Module/Admin/Item/Source.php @@ -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; -- 2.39.5