diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-26 12:33:13 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-26 12:33:13 -0800 |
commit | 88ae7f53bb4470a899678d231cecb8cb963b2075 (patch) | |
tree | 59a763d19e8130ffefbc54d4d5c3625a798c9e53 | |
parent | 223ebc765c454e030a49df7e2e1b9cdc2b005fe6 (diff) | |
parent | c95daacfdb6d89098716b8eeccfdd82124019d7a (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
-rw-r--r-- | actions/showgroup.php | 16 | ||||
-rw-r--r-- | locale/te/LC_MESSAGES/statusnet.po | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php index 0139ba157..4e1fcb6c7 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -125,14 +125,6 @@ class ShowgroupAction extends GroupDesignAction $local = Local_group::staticGet('nickname', $nickname); if (!$local) { - common_log(LOG_NOTICE, "Couldn't find local group for nickname '$nickname'"); - $this->clientError(_('No such group.'), 404); - return false; - } - - $this->group = User_group::staticGet('id', $local->group_id); - - if (!$this->group) { $alias = Group_alias::staticGet('alias', $nickname); if ($alias) { $args = array('id' => $alias->group_id); @@ -142,11 +134,19 @@ class ShowgroupAction extends GroupDesignAction common_redirect(common_local_url('groupbyid', $args), 301); return false; } else { + common_log(LOG_NOTICE, "Couldn't find local group for nickname '$nickname'"); $this->clientError(_('No such group.'), 404); return false; } } + $this->group = User_group::staticGet('id', $local->group_id); + + if (!$this->group) { + $this->clientError(_('No such group.'), 404); + return false; + } + common_set_returnto($this->selfUrl()); return true; diff --git a/locale/te/LC_MESSAGES/statusnet.po b/locale/te/LC_MESSAGES/statusnet.po index 37a2582b3..09ede3d86 100644 --- a/locale/te/LC_MESSAGES/statusnet.po +++ b/locale/te/LC_MESSAGES/statusnet.po @@ -5341,7 +5341,7 @@ msgstr "" "%7$s.\n" "\n" "----\n" -"మీ ఈమెయిలు చిరునామాని లేదా గమనింపుల ఎంపికలను %8$s వద్ద మార్చుకోండి" +"మీ ఈమెయిలు చిరునామాని లేదా గమనింపుల ఎంపికలను %8$s వద్ద మార్చుకోండి\n" #: lib/mail.php:258 #, php-format |