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:
parent
9eac9ef2b9
commit
9b19a51fc6
@ -19,7 +19,10 @@ class Follow extends \Zotlabs\Web\Controller {
|
|||||||
$confirm = intval($_REQUEST['confirm']);
|
$confirm = intval($_REQUEST['confirm']);
|
||||||
|
|
||||||
$channel = \App::get_channel();
|
$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);
|
$result = new_contact($uid,$url,$channel,true,$confirm);
|
||||||
|
|
||||||
if($result['success'] == false) {
|
if($result['success'] == false) {
|
||||||
|
Reference in New Issue
Block a user