Now with correct url

2022.09-rc
Michael Vogel 2016-05-29 22:13:08 +02:00
rodzic e4ec867df3
commit d22d36be7d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -264,7 +264,7 @@ function profile_sidebar($profile, $block = 0) {
if ($r) { if ($r) {
$remote_url = $r[0]["url"]; $remote_url = $r[0]["url"];
$message_path = preg_replace("=(.*)/profile/(.*)=ism", "$1/message/new/", $remote_url); $message_path = preg_replace("=(.*)/profile/(.*)=ism", "$1/message/new/", $remote_url);
$wallmessage_link = $message_path.base64_encode($remote_url); $wallmessage_link = $message_path.base64_encode($profile["addr"]);
} }
} else { } else {
$wallmessage = false; $wallmessage = false;