aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-09-04 18:56:21 +0000
committerMario <mario@mariovavti.com>2020-09-04 18:56:21 +0000
commitd53b3b242daca5d64886c5caa1c6aa93473239de (patch)
tree8178379874423503a8c27a44f156c7a2374ba932 /include/text.php
parent8e0e4b7b92608b4ecd33ac9991e9e7c54a115fb5 (diff)
downloadvolse-hubzilla-d53b3b242daca5d64886c5caa1c6aa93473239de.tar.gz
volse-hubzilla-d53b3b242daca5d64886c5caa1c6aa93473239de.tar.bz2
volse-hubzilla-d53b3b242daca5d64886c5caa1c6aa93473239de.zip
fix get_plink() for zot6
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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)) {