diff options
-rw-r--r-- | plugins/YammerImport/lib/yammerimporter.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/YammerImport/lib/yammerimporter.php b/plugins/YammerImport/lib/yammerimporter.php index 0ce8ffb48..ae916dc22 100644 --- a/plugins/YammerImport/lib/yammerimporter.php +++ b/plugins/YammerImport/lib/yammerimporter.php @@ -249,8 +249,11 @@ class YammerImporter $options['mainpage'] = common_local_url('showgroup', array('nickname' => $options['nickname'])); + // Set some default vals or User_group::register will whine + $options['homepage'] = ''; + $options['location'] = ''; + $options['aliases'] = array(); // @fixme what about admin user for the group? - // bio? homepage etc? aliases? $options['local'] = true; return array('orig_id' => $origId, |