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:
fermionic 2013-03-16 09:12:35 -07:00
commit 887a5e5987

View file

@ -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
} }