sforkowany z mirror/friendica
Now with correct url
rodzic
e4ec867df3
commit
d22d36be7d
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue