aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-30 07:14:47 +0000
committerMario <mario@mariovavti.com>2022-09-30 07:14:47 +0000
commit5a25fd54a4e08acdbe00e8054a9fe380d0a473d9 (patch)
tree3ed48d561398d6f758d37eb1e9c2d127500b7955
parent9f0f4c50a4bb3e337167fd4c27685d82e47d2e97 (diff)
downloadvolse-hubzilla-5a25fd54a4e08acdbe00e8054a9fe380d0a473d9.tar.gz
volse-hubzilla-5a25fd54a4e08acdbe00e8054a9fe380d0a473d9.tar.bz2
volse-hubzilla-5a25fd54a4e08acdbe00e8054a9fe380d0a473d9.zip
fix issue #1694
-rw-r--r--Zotlabs/Module/Network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php
index 279875544..00fed55c2 100644
--- a/Zotlabs/Module/Network.php
+++ b/Zotlabs/Module/Network.php
@@ -374,9 +374,9 @@ class Network extends \Zotlabs\Web\Controller {
// ActivityStreams specification.
if (substr($verb, 0, 1) === '.') {
- $verb = substr($verb, 1);
+ $sql_verb = substr($verb, 1);
$sql_extra .= sprintf(" AND item.obj_type like '%s' ",
- dbesc(protect_sprintf('%' . $verb . '%'))
+ dbesc(protect_sprintf('%' . $sql_verb . '%'))
);
}
else {