summaryrefslogtreecommitdiff
path: root/actions/groupdesignsettings.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/groupdesignsettings.php')
-rw-r--r--actions/groupdesignsettings.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/groupdesignsettings.php b/actions/groupdesignsettings.php
index e290ba514..526226a28 100644
--- a/actions/groupdesignsettings.php
+++ b/actions/groupdesignsettings.php
@@ -90,7 +90,10 @@ class GroupDesignSettingsAction extends DesignSettingsAction
if ($groupid) {
$this->group = User_group::staticGet('id', $groupid);
} else {
- $this->group = User_group::staticGet('nickname', $nickname);
+ $local = Local_group::staticGet('nickname', $nickname);
+ if ($local) {
+ $this->group = User_group::staticGet('id', $local->group_id);
+ }
}
if (!$this->group) {