aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.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/text.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/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 2e5e728a0..29a2ab3b1 100644
--- a/include/text.php
+++ b/include/text.php
@@ -846,7 +846,7 @@ function activity_match($haystack,$needle) {
if($needle) {
foreach($needle as $n) {
- if(($haystack === $n) || (strtolower(basename($n)) === strtolower(basename($haystack)))) {
+ if(($haystack === $n) || (strtolower(basename((string)$n)) === strtolower(basename((string)$haystack)))) {
return true;
}
}