aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-04 10:13:08 +0000
committerMario <mario@mariovavti.com>2024-07-04 10:13:08 +0000
commitf882c44fb397c8a891c0e16541a6bd44a6086c20 (patch)
tree841a7e4e8cddd6bff2bad32dfa3aca7efe5c60aa
parent04a35dac9aa1949981f2c2d261f869747a0e2686 (diff)
downloadvolse-hubzilla-f882c44fb397c8a891c0e16541a6bd44a6086c20.tar.gz
volse-hubzilla-f882c44fb397c8a891c0e16541a6bd44a6086c20.tar.bz2
volse-hubzilla-f882c44fb397c8a891c0e16541a6bd44a6086c20.zip
fix wrong logic after last commit
-rw-r--r--include/zid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zid.php b/include/zid.php
index 05b4cee16..159a3b834 100644
--- a/include/zid.php
+++ b/include/zid.php
@@ -38,7 +38,7 @@ function is_matrix_url($url) {
* @return string
*/
function zid($s, $address = '') {
- if ($s || strpos($s,'zid=')) {
+ if (!$s || strpos($s,'zid=')) {
return $s;
}