aboutsummaryrefslogtreecommitdiffstats
path: root/include/zid.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-02 17:58:29 +0000
committerMario <mario@mariovavti.com>2022-02-02 17:58:29 +0000
commit1740ae2104ff734edd45f6c0f1273d561cc4a69c (patch)
treed63c6d59f7f673193e9141b48c48bdee2b7fdbe9 /include/zid.php
parentd8372f84339b29ef05f92d452ec196df32087f4a (diff)
downloadvolse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.gz
volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.bz2
volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.zip
more PHP 8.1 deprecated warnings
Diffstat (limited to 'include/zid.php')
-rw-r--r--include/zid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zid.php b/include/zid.php
index e462f8357..ae7d9e252 100644
--- a/include/zid.php
+++ b/include/zid.php
@@ -37,7 +37,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;
$m = parse_url($s);