]> git.mxchange.org Git - friendica.git/commitdiff
Fixing https://github.com/friendica/friendica/issues/7299#issuecomment-521745931
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 18 Aug 2019 13:01:03 +0000 (15:01 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 18 Aug 2019 13:12:10 +0000 (15:12 +0200)
src/Module/Admin/Item/Source.php

index 1e85b7dc706913398b80a9fb63a15fa6b3fe1ba5..35261e5d0a04856d5dea3967073f7e3dede4c627 100644 (file)
@@ -24,7 +24,7 @@ class Source extends BaseAdminModule
                        $guid = $a->argv[1];
                }
 
-               $guid = defaults($_REQUEST['guid'], $guid);
+               $guid = $_REQUEST['guid'] ?? $guid;
 
                $source = '';
                $item_uri = '';