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:
Mario Vavti 2016-01-15 00:03:15 +01:00
parent 614dcb8bce
commit ef2890fe51

View file

@ -305,6 +305,9 @@ function connedit_post(&$a) {
connedit_clone($a);
if(($_REQUEST['pending']) && (!$_REQUEST['done']))
goaway($a->get_baseurl(true) . '/connections/ifpending');
return;
}