]> git.mxchange.org Git - friendica.git/commitdiff
Fix parameters for Source
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 18 Aug 2019 13:14:03 +0000 (15:14 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 18 Aug 2019 13:14:03 +0000 (15:14 +0200)
src/Module/Admin/Item/Source.php

index 35261e5d0a04856d5dea3967073f7e3dede4c627..6da9eec6d320da91c94dc261f1db3e3abacd034e 100644 (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;