after rposting - if there's no remote_return, go to your matrix page rather than leave you on a blank rpost page.
This commit is contained in:
parent
9551f6b404
commit
24bac92acd
@ -65,8 +65,10 @@ function rpost_content(&$a) {
|
|||||||
if($_REQUEST['remote_return']) {
|
if($_REQUEST['remote_return']) {
|
||||||
$_SESSION['remote_return'] = $_REQUEST['remote_return'];
|
$_SESSION['remote_return'] = $_REQUEST['remote_return'];
|
||||||
}
|
}
|
||||||
if(argc() > 1 && argv(1) === 'return' && $_SESSION['remote_return']) {
|
if(argc() > 1 && argv(1) === 'return') {
|
||||||
goaway($_SESSION['remote_return']);
|
if($_SESSION['remote_return'])
|
||||||
|
goaway($_SESSION['remote_return']);
|
||||||
|
goaway(z_root() . '/network');
|
||||||
}
|
}
|
||||||
|
|
||||||
$plaintext = true;
|
$plaintext = true;
|
||||||
|
Reference in New Issue
Block a user