]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
added spaces + curly braces
[friendica.git] / mod / randprof.php
index 6713a81d9e4a2efe2f013feb6ceeb2c092a891fe..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($a->get_baseurl() . '/profile');
+       }
+
+       goaway(App::get_baseurl() . '/profile');
 }