Now with correct url

This commit is contained in:
Michael Vogel 2016-05-29 22:13:08 +02:00
parent e4ec867df3
commit d22d36be7d

View file

@ -264,7 +264,7 @@ function profile_sidebar($profile, $block = 0) {
if ($r) {
$remote_url = $r[0]["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 {
$wallmessage = false;