]> git.mxchange.org Git - friendica.git/blobdiff - mod/ignored.php
Standards ...
[friendica.git] / mod / ignored.php
index a311713077f134b305a067a230e7d34819bae72e..0065d51c58e3b8386b53ac93ea095d1ceca5b76d 100644 (file)
@@ -37,11 +37,8 @@ function ignored_init(App $a) {
        $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
        if ($return_path) {
                $rand = '_=' . time();
-               if (strpos($return_path, '?')) {
-                       $rand = "&$rand";
-               } else {
-                       $rand = "?$rand";
-               }
+               if(strpos($return_path, '?')) $rand = "&$rand";
+               else $rand = "?$rand";
 
                goaway(App::get_baseurl() . "/" . $return_path . $rand);
        }