Merge pull request #650 from fermionic/20130316-network-infinite-redirect
prevent infinite redirect on network page for non-existant group
This commit is contained in:
commit
887a5e5987
|
@ -594,7 +594,7 @@ function network_content(&$a, $update = 0) {
|
||||||
if($update)
|
if($update)
|
||||||
killme();
|
killme();
|
||||||
notice( t('No such group') . EOL );
|
notice( t('No such group') . EOL );
|
||||||
goaway($a->get_baseurl(true) . '/network');
|
goaway($a->get_baseurl(true) . '/network/0');
|
||||||
// NOTREACHED
|
// NOTREACHED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue