aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/follow.php b/mod/follow.php
index f99d91757..f8964885e 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -22,6 +22,14 @@ function follow_init(&$a) {
// NOTREACHED
}
+
+ if(! $url) {
+ notice( t('Connect URL missing.') . EOL);
+ goaway($_SESSION['return_url']);
+ // NOTREACHED
+ }
+
+
$ret = probe_url($url);
if($ret['network'] === NETWORK_DFRN) {