X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=spec%2Fdfrn2_contact_request.svg;h=d32718271b844cee8171fafa21afff9cd36eea7a;hb=363d6b72ae89e399e23b133f2a3d7d74aa89fe09;hp=34de340f33c3aabc7f59c341fda955f90e5a4408;hpb=d4a02dc31408210ab9f67ecac1948dc22b95b8da;p=friendica.git diff --git a/spec/dfrn2_contact_request.svg b/spec/dfrn2_contact_request.svg index 34de340f33..d32718271b 100644 --- a/spec/dfrn2_contact_request.svg +++ b/spec/dfrn2_contact_request.svg @@ -80,7 +80,7 @@ text { font:12px Dialog; } ($_POST['localconfirm'] == 1) ----------------------------------------------------------------------- - if(local_user() && ($a->user['nickname'] == $a- ->argv[1]) && (x($_POST,'dfrn_url'))) +>argv[1]) && !empty($_POST['dfrn_url'])) -> - $confirm_key comes from $_POST - get data for contact Karen (contact table) by @@ -104,7 +104,7 @@ text { font:12px Dialog; } http://karenhomepage.com/dfrn_request?confirm_key=”ABC123” dfrn_request_content() - -(elseif((x($_GET,'confirm_key')) && strlen($_GET['confirm_key'])) ) +elseif (!empty($_GET['confirm_key'])) ---------------------------------------------------------------------------------------------- - select the intro by confirm_key (intro table) -> get contact id - use the intro contact id to get the contact in the contact table