diff options
author | redmatrix <git@macgirvin.com> | 2016-05-04 20:24:47 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-04 20:24:47 -0700 |
commit | 9b19a51fc6cf38c1b465be5c97f92c840f257a40 (patch) | |
tree | 7ff24deaad766dc8e4343f717cca2a971f234f30 /Zotlabs/Module | |
parent | 9eac9ef2b94533c7dbec3c13b1374a96bc88e4de (diff) | |
download | volse-hubzilla-9b19a51fc6cf38c1b465be5c97f92c840f257a40.tar.gz volse-hubzilla-9b19a51fc6cf38c1b465be5c97f92c840f257a40.tar.bz2 volse-hubzilla-9b19a51fc6cf38c1b465be5c97f92c840f257a40.zip |
Allow follow to work with a pasted webbie from the profile page (where we've replaced the '@' sign with a UTF-8 look-alike)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Follow.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Follow.php b/Zotlabs/Module/Follow.php index d3114557b..1701328bf 100644 --- a/Zotlabs/Module/Follow.php +++ b/Zotlabs/Module/Follow.php @@ -19,7 +19,10 @@ class Follow extends \Zotlabs\Web\Controller { $confirm = intval($_REQUEST['confirm']); $channel = \App::get_channel(); - + + // Warning: Do not edit the following line. The first symbol is UTF-8 @ + $url = str_replace('@','@',$url); + $result = new_contact($uid,$url,$channel,true,$confirm); if($result['success'] == false) { |