aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Follow.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-15 19:29:29 +0000
committerMario <mario@mariovavti.com>2022-11-15 19:29:29 +0000
commit08c2c9bc22b5cffc21e8f7d7ea1cda30c2e1af93 (patch)
tree5648eb670024d89e46c1d34c6a5d64a325bdd105 /Zotlabs/Module/Follow.php
parentf64bd590a8930331ab7e201719c027b1f3c5c693 (diff)
downloadvolse-hubzilla-08c2c9bc22b5cffc21e8f7d7ea1cda30c2e1af93.tar.gz
volse-hubzilla-08c2c9bc22b5cffc21e8f7d7ea1cda30c2e1af93.tar.bz2
volse-hubzilla-08c2c9bc22b5cffc21e8f7d7ea1cda30c2e1af93.zip
possible fix for issue #1698
Diffstat (limited to 'Zotlabs/Module/Follow.php')
-rw-r--r--Zotlabs/Module/Follow.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Follow.php b/Zotlabs/Module/Follow.php
index 54e29c492..f8bfc11f3 100644
--- a/Zotlabs/Module/Follow.php
+++ b/Zotlabs/Module/Follow.php
@@ -70,12 +70,12 @@ class Follow extends Controller {
}
$uid = local_channel();
- $url = notags(trim(punify($_REQUEST['url'])));
+ $url = notags(punify(trim($_REQUEST['url'])));
$return_url = $_SESSION['return_url'];
$interactive = $_REQUEST['interactive'] ?? 1;
$channel = App::get_channel();
- $result = Connect::connect($channel,$url);
+ $result = Connect::connect($channel, $url);
if ($result['success'] == false) {
if ($result['message']) {