aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-04 09:41:21 +0000
committerMario <mario@mariovavti.com>2024-07-04 09:41:21 +0000
commit04a35dac9aa1949981f2c2d261f869747a0e2686 (patch)
treee8eca20ac8da313a9131340016a1bb66bb9aac72
parented03befa027aa324fb2aaa766002e647ecaa77d8 (diff)
downloadvolse-hubzilla-04a35dac9aa1949981f2c2d261f869747a0e2686.tar.gz
volse-hubzilla-04a35dac9aa1949981f2c2d261f869747a0e2686.tar.bz2
volse-hubzilla-04a35dac9aa1949981f2c2d261f869747a0e2686.zip
revert the strlen check
-rw-r--r--include/zid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zid.php b/include/zid.php
index f25a7122f..05b4cee16 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 (!strlen($s) || strpos($s,'zid=')) {
+ if ($s || strpos($s,'zid=')) {
return $s;
}