aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/dfrn_confirm.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 3be206c63..1824761d0 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -368,8 +368,11 @@ function dfrn_confirm_post(&$a) {
);
if($r === false)
$_SESSION['sysmsg'] .= "Unable to set contact photo info." . EOL;
+
+ goaway($a->get_baseurl() . '/contacts/' . intval($contact_id));
+ return; //NOTREACHED
+
}
- goaway($a->get_baseurl() . '/contacts/' . intval($contact_id));
- return; //NOTREACHED
+ return;
}