replaced forwardurl with forward_path

pull/5907/head
Philipp Holzer 2018-10-19 23:56:54 +02:00
rodzic 3edad1591e
commit d51e931db7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 517BE60E2CE5C8A5
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -173,9 +173,9 @@ function dfrn_request_post(App $a)
Contact::updateAvatar($photo, local_user(), $r[0]["id"], true); Contact::updateAvatar($photo, local_user(), $r[0]["id"], true);
} }
$forwardurl = "contact/" . $r[0]['id']; $forward_path = "contact/" . $r[0]['id'];
} else { } else {
$forwardurl = "contact"; $forward_path = "contact";
} }
// Allow the blocked remote notification to complete // Allow the blocked remote notification to complete
@ -188,7 +188,7 @@ function dfrn_request_post(App $a)
} }
// (ignore reply, nothing we can do it failed) // (ignore reply, nothing we can do it failed)
$a->internalRedirect($forwardurl); $a->internalRedirect($forward_path);
return; // NOTREACHED return; // NOTREACHED
} }
} }