From 99828c0feada6c59e0edaa0939af2f0632f505ac Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 8 Dec 2020 10:00:09 -0500 Subject: [PATCH] Suppress notice message when guid isn't supplied in Module\Admin\Item\Source - https://github.com/friendica/friendica/issues/9252#issuecomment-740052103 --- src/Module/Admin/Item/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Admin/Item/Source.php b/src/Module/Admin/Item/Source.php index f736582fa..6e917eb16 100644 --- a/src/Module/Admin/Item/Source.php +++ b/src/Module/Admin/Item/Source.php @@ -33,7 +33,7 @@ class Source extends BaseAdmin { parent::content($parameters); - $guid = basename($_REQUEST['guid'] ?? '') ?: $parameters['guid']; + $guid = basename($_REQUEST['guid'] ?? $parameters['guid'] ?? ''); $source = ''; $item_uri = '';