]> git.mxchange.org Git - friendica.git/commitdiff
prevent infinite redirect on network page for non-existant group
authorZach Prezkuta <fermion@gmx.com>
Sat, 16 Mar 2013 16:11:32 +0000 (10:11 -0600)
committerZach Prezkuta <fermion@gmx.com>
Sat, 16 Mar 2013 16:11:32 +0000 (10:11 -0600)
mod/network.php

index ba7bff791aefb66d9fea45c0fc98dd874bc950a2..51f3d22327b160b3f6f1908a21598c32ad30c1d0 100644 (file)
@@ -594,7 +594,7 @@ function network_content(&$a, $update = 0) {
                        if($update)
                                killme();
                        notice( t('No such group') . EOL );
-                       goaway($a->get_baseurl(true) . '/network');
+                       goaway($a->get_baseurl(true) . '/network/0');
                        // NOTREACHED
                }