Update activitiypub.extend.php
This commit is contained in:
parent
ec79ed6df0
commit
1123d3db1b
|
@ -171,13 +171,11 @@ class _GNUBOARD_ActivityPub {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!empty($params['bo_table']) && !empty($params['wr_id'])) {
|
if (!empty($params['bo_table']) && !empty($params['wr_id'])) {
|
||||||
$query_string = http_build_query(array(
|
$qstr = http_build_query(array(
|
||||||
"bo_table" => $params['bo_table'],
|
"bo_table" => $params['bo_table'],
|
||||||
"wr_id" => $params['wr_id']
|
"wr_id" => $params['wr_id']
|
||||||
));
|
));
|
||||||
|
header("Location: " . G5_BBS_URL . "/board.php?" . $qstr);
|
||||||
$link = G5_BBS_URL . "/board.php?" . $query_string;
|
|
||||||
header("Location: " . $link);
|
|
||||||
} else {
|
} else {
|
||||||
return activitypub_json_encode(array("message" => "Could not find the stream"));
|
return activitypub_json_encode(array("message" => "Could not find the stream"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user