From 3a07a194abb3dfab842e08b242c9a566c97b6e35 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 23 Mar 2019 19:42:22 +0100 Subject: Webfinger::zot_url() requires a string (webfinger address), empty var given in update_directory_entry() --- Zotlabs/Lib/Libzotdir.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index 91d089c86..4e084554d 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -307,7 +307,7 @@ class Libzotdir { if ($ud['ud_addr'] && (! ($ud['ud_flags'] & UPDATE_FLAGS_DELETED))) { $success = false; - $href = \Zotlabs\Lib\Webfinger::zot_url(punify($url)); + $href = \Zotlabs\Lib\Webfinger::zot_url($ud['ud_addr']); if($href) { $zf = \Zotlabs\Lib\Zotfinger::exec($href); } -- cgit v1.2.3