]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
added spaces + curly braces
[friendica.git] / mod / randprof.php
index 877bf818b906f70b8fd679dfabce883d4e82ce80..b208eeef29421a6484778248daaeb6cedfd9e776 100644 (file)
@@ -3,8 +3,12 @@
 
 function randprof_init(&$a) {
        require_once('include/Contact.php');
+
        $x = random_profile();
-       if($x)
+
+       if ($x) {
                goaway(zrl($x));
+       }
+
        goaway(App::get_baseurl() . '/profile');
 }