Skip to content

Commit

Permalink
Fixed #1302: Default group space not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Nov 19, 2015
1 parent c4a8cbb commit ded3c87
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions protected/humhub/modules/admin/views/group/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@
<?php echo $form->textField($group, 'defaultSpaceGuid', array('class' => 'form-control', 'id' => 'space_select')); ?>

<?php
/*
$this->widget('application.modules_core.space.widgets.SpacePickerWidget', array(
'inputId' => 'space_select',
'maxSpaces' => 1,
'model' => $group,
'attribute' => 'defaultSpaceGuid'
));
*
*/
echo \humhub\modules\space\widgets\Picker::widget([
'inputId' => 'space_select',
'maxSpaces' => 1,
'model' => $group,
'attribute' => 'defaultSpaceGuid'
]);
?>

<?php echo $form->labelEx($group, 'adminGuids'); ?>
Expand Down

0 comments on commit ded3c87

Please sign in to comment.