aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-04 09:43:20 +0000
committerMario <mario@mariovavti.com>2024-07-04 09:43:20 +0000
commit8f9e9116df7cc104f363874e196eb6f7abaf922e (patch)
tree93ad277ef8f7e40eec1aaf9f0496857a4980d0b8
parentf944f46744c45aa64068b33790692f89f03fce50 (diff)
parent04a35dac9aa1949981f2c2d261f869747a0e2686 (diff)
downloadvolse-hubzilla-8f9e9116df7cc104f363874e196eb6f7abaf922e.tar.gz
volse-hubzilla-8f9e9116df7cc104f363874e196eb6f7abaf922e.tar.bz2
volse-hubzilla-8f9e9116df7cc104f363874e196eb6f7abaf922e.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;
}