From 04a35dac9aa1949981f2c2d261f869747a0e2686 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 4 Jul 2024 09:41:21 +0000 Subject: revert the strlen check --- include/zid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3