From d53b3b242daca5d64886c5caa1c6aa93473239de Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 4 Sep 2020 18:56:21 +0000 Subject: fix get_plink() for zot6 --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index 92e5807b4..e798bf8f8 100644 --- a/include/text.php +++ b/include/text.php @@ -2046,7 +2046,7 @@ function get_plink($item,$conversation_mode = true) { $zidify = true; - if(array_key_exists('author',$item) && $item['author']['xchan_network'] !== 'zot') + if(array_key_exists('author',$item) && in_array($item['author']['xchan_network'], ['zot6', 'zot']) === false) $zidify = false; if(x($item,$key)) { -- cgit v1.2.3