mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
this might be controversal - if approving a connection from the popup go back to connections page. if the popup is dismissed and the connection is approved from the page stay on /connedit page to be able to adjust perms etc...
This commit is contained in:
parent
614dcb8bce
commit
ef2890fe51
1 changed files with 3 additions and 0 deletions
|
@ -305,6 +305,9 @@ function connedit_post(&$a) {
|
|||
|
||||
connedit_clone($a);
|
||||
|
||||
if(($_REQUEST['pending']) && (!$_REQUEST['done']))
|
||||
goaway($a->get_baseurl(true) . '/connections/ifpending');
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue