Allow follow to work with a pasted webbie from the profile page (where we've replaced the '@' sign with a UTF-8 look-alike)

This commit is contained in:
redmatrix 2016-05-04 20:24:47 -07:00
parent 9eac9ef2b9
commit 9b19a51fc6

View file

@ -20,6 +20,9 @@ class Follow extends \Zotlabs\Web\Controller {
$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) {