aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connedit.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-15 00:03:15 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-15 00:03:15 +0100
commitef2890fe5156cf83de00c077f530f1404b5b509a (patch)
treea029932ec089c12e9afead0c6556468929b962bd /mod/connedit.php
parent614dcb8bce1de38b4ec0abf3299c975f244728f5 (diff)
downloadvolse-hubzilla-ef2890fe5156cf83de00c077f530f1404b5b509a.tar.gz
volse-hubzilla-ef2890fe5156cf83de00c077f530f1404b5b509a.tar.bz2
volse-hubzilla-ef2890fe5156cf83de00c077f530f1404b5b509a.zip
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...
Diffstat (limited to 'mod/connedit.php')
-rw-r--r--mod/connedit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index 77b54d262..bcf2d744b 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -305,6 +305,9 @@ function connedit_post(&$a) {
connedit_clone($a);
+ if(($_REQUEST['pending']) && (!$_REQUEST['done']))
+ goaway($a->get_baseurl(true) . '/connections/ifpending');
+
return;
}