summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/YammerImport/lib/yammerimporter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YammerImport/lib/yammerimporter.php b/plugins/YammerImport/lib/yammerimporter.php
index 0425b8b04..0ce8ffb48 100644
--- a/plugins/YammerImport/lib/yammerimporter.php
+++ b/plugins/YammerImport/lib/yammerimporter.php
@@ -287,7 +287,7 @@ class YammerImporter
}
$options['created'] = $this->timestamp($item['created_at']);
- if ($item['group_id']) {
+ if (!empty($item['group_id'])) {
$groupId = $this->findImportedGroup($item['group_id']);
if ($groupId) {
$options['groups'] = array($groupId);