Now with correct url
This commit is contained in:
parent
e4ec867df3
commit
d22d36be7d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue